Solved Templates

Finatic Blog layout

Asked by Sandra97 2 years ago Last activity 2 years ago

Hi,

I would like to know:

  • how to display in the blog layout the name of the category of each article (above the title of the article)
  • how to display the article info (like social share) above the article and not below it (changing it in the options tab has no effect)
  • how to limit the number of characters of the intro on the category view

Thanks in advance for your help

Sandra

Accepted answer

Marked as the solution
Toufiq Senior Staff

https://prnt.sc/2NKn39qblpAa

templates/your_template/html/com_content/article/default.php

Also is there a way to put the social share above the main image?

Sorry! It's not possible.

10 more replies

Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. To better address the issue, could you kindly provide Joomla administrator access? This will enable me to thoroughly investigate the matter and provide you with a prompt resolution.

Please share a screenshot that you want to do exactly. I will try to do which is possible.

Best regards,

Toufiqur Rahman (Team Lead, Support)

Sandra97 Asked this

Thanks Toufiq for your answer. I'm out of my office for a week.
I'll grant you an access once I'm back.

Wishing you a great holiday season

Sandra

Toufiq Senior Staff

Enjoy your time. Thanks

Sandra97 Asked this

Hi Toufiq,

Happy New Year!

I enclose the screenshots of what we need to do as well as your SU access.

Thnaks in advance for your help.

Sandra

Sandra97 Asked this

I know about this but it's not what I want to do.

I know that to limit the number of character of the intro text you can change

php echo $this->item->introtext; 
Into 
php echo JHtml::_('string.truncate', $this->item->introtext, 150); 

In the file html/com_content/category/blog_item.php
But this overriden file contains only
require HelixUltimate\Framework\Platform\HTMLOverride::loadTemplate();

So I don't know where to change it .

What do you mean by "please check other issues"?

Thanks in advance

Sandra

Toufiq Senior Staff

Added 150 charecter limit on this file. Please check now.

templates/finion/html/com_content/category/blog_item.php

Sandra97 Asked this

Thanks Toufiq. We're good now for the 3rd issue

Toufiq Senior Staff

You are most welcome & Thanks

Sandra97 Asked this

Hi Toufiq,

Any idea what to do for my 2 other questions?

Thanks in advance

Toufiq Senior Staff

Which one? Can you share a screenshot?

Sandra97 Asked this

It's about these 2 points:

  • how to display in the blog layout the name of the category of each article (above the title of the article)
  • how to display the article info (like social share) above the article and not below it (changing it in the options tab has no effect)

I shared the screenshots a week ago

Thanks!

Toufiq Senior Staff

previously you have shared a screenshot and i have done your maximum issues. Thanks

Sandra97 Asked this

Thanks a lot Toufiq!

Could you tell me which files you edited?

Also is there a way to put the social share above the main image?

Thanks

Sandra

Sandra97 Asked this

Ok. thanks a lot for your precious help Toufiq

Toufiq Senior Staff

You are most welcome & Thanks

Log in to reply.