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
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
-
- 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.
I think it's a problem with joomla truncate function. Please send me an access to ftp so I'll check the layout file.
-
- Moderator
- GK User
- Fri Feb 07, 2014 10:49 am
i send you a message on pm!
-
- 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
Now is
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.
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.
-
- Moderator
4 posts
• Page 1 of 1