Frontpage featured article

Professional Business Joomla template for corporate and business websites suitable for showing stock quotes, up to date news, portfolio management resources or international market data.
GK User
Wed Feb 05, 2014 11:51 am
hello,

when i publish on frontpage featured articles it's break module position.
I attache a picture whit the problem, the link is http://horeca.ro/2013
User avatar
Senior Boarder

teitbite
Wed Feb 05, 2014 4:49 pm
Hi

I think it's a problem with joomla truncate function. Please send me an access to ftp so I'll check the layout file.
User avatar
Moderator

GK User
Fri Feb 07, 2014 10:49 am
i send you a message on pm!
User avatar
Senior Boarder

teitbite
Mon Feb 10, 2014 8:00 pm
Hi

Just as I thought. Substring function has not formed intortext correctly. It has cutted the HTML structure in half and left uncosed HTML tags. I've fixed it by removing this tags, but it has removed image as well. I've made the change in: /html/com_content/featured/default_item.php line 309.

Was
Code: Select all
<?php echo $this->item->introtext; ?>


Now is
Code: Select all
<?php echo strip_tags( $this->item->introtext ); ?>


If I'm not mistaken this can also be fixed by setting "Read more" line correctly in article, outside HTML tags, so nothing will be cut.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.