Introtext Links deactivated
- Posted by template monster (4) Offline
I have the problem that links are deactivated in the intro text. This means that I have linked text in the post. As soon as the post is output via Minifrontpage (Introtext), the link is gone.
Unfortunately I can't show an example, the page is currently set up locally.
I would be grateful for a tip. I suspect that some PHP expression deactivates it. Also, the class of the link is not output. I don't know PHP very well. Can someone help me, please?
3 years 5 months ago #1
by template monster
Unfortunately I can't show an example, the page is currently set up locally.
I would be grateful for a tip. I suspect that some PHP expression deactivates it. Also, the class of the link is not output. I don't know PHP very well. Can someone help me, please?
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi, you can create a template override (please follow this video if you don't know how to do it ) and then at line 111 modify this code :into
3 years 5 months ago #2
by TemplatePlazza
echo JHtmlString::truncate(strip_tags($item->introtext), $introtext_truncate); ?>
echo $item->introtext; ?>
Please Log in or Create an account to join the conversation.
- Posted by template monster (4) Offline
PERFECT!!!
That's exact what i was looking for. I already tried at this point, but was wrong with the syntax. Now it works!
THANK YOU VERY MUCH!!
3 years 5 months ago #3
by template monster
That's exact what i was looking for. I already tried at this point, but was wrong with the syntax. Now it works!
THANK YOU VERY MUCH!!
Please Log in or Create an account to join the conversation.