JComments and introtext

This forum is for general questions about extensions for Joomla! 3.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Mon Jun 25, 2007 8:49 am

JComments and introtext

Post by miniil » Wed Apr 24, 2019 8:57 am


Hi would like to modify my template to display the last article without 'read more' for featured articles on my home page and also for all articles on my articles page even if a read more is inserted in the article.

I tried a lot of time and I nearly have a solution for featured artciles with changing the file /com_content/fetaured/default_itm but there is something I can't do right because of the component JComments (that I'd like to keep).

Normaly Joomla render the introtext (before the read more button) with

Code: Select all

echo $this->item->introtext

But JComments replace the introtext by the introtext plus all the links (read more, comments).

So I change the code with

Code: Select all

echo $this->item->text . $fulltext;
Because text is the introtext without the links.

But I don't find where JComments replace introtext.

Can you help me to find this?


Return to “Extensions for Joomla! 3.x”