This topic contains 18 replies, has 4 voices, and was last updated by Ninja Lead 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
test
<em>@dieudonne 398557 wrote:</em><blockquote>Is this problem (duplicate images) ‘ll be fix in the next template’s version…?
And when ?</blockquote>
You can have a look to follow here
P/S: Please don’t raise same problem on many thread. Sometime we need more time to check and find down and give back for you the best answer
@ninja Lead
here is the solution
images are comes properly by this code in blog_item.php
by replacing line33
[PHP]//duplicate images
$regex = ‘#<img[^>]*>#’;
$regex = “#<img[^>]+>#”;
$image_introtext = ”;
if (preg_match ($regex,$this->item->introtext, $matches)) {
$image_introtext = $matches[0];
$this->item->introtext = str_replace ($image_introtext, ”, $this->item->introtext);
}
$link = $params->get(‘link_titles’) && $params->get(‘access-view’) ? JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)) : false;
?>
[/PHP]
do same for featured article layout
for introtext
change the line 191 into
[PHP]<?php/* echo JHtml::_(‘string.truncate’, $introtext, $tplparams->get(‘tpl_introtext_limit’, 200));*/ ?>
<?php echo $this->item->introtext; ?>[/PHP]
do same for featured layout 😀
2 users say Thank You to dpchap015 for this useful post
Many thanks for sharing
This topic contains 18 replies, has 4 voices, and was last updated by Ninja Lead 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum