Hi,
I founded this code:
- Code: Select all
// render images
for($i = 0; $i < count($this->parent->content); $i++) {
if($this->get_image($i)) {
echo '<a
href="'.$this->get_link($i).'"
title="'.strip_tags($this->parent->content[$i]['title']).'"
class="gkImage nspArt nspCol'.$this->parent->config['portal_mode_portfolio2_cols'].' active"
data-cat="'.$this->parent->content[$i]['catname'].'" ';
if($this->parent->config['portal_mode_portfolio2_popup'] == '1') {
echo 'data-cat-text="'.JText::_('MOD_NEWS_PRO_GK5_PORTAL_MODE_PORTFOLIO2_CAT_TEXT').'"
data-date="'.JHTML::_('date', $this->parent->content[$i]['date'], 'F j, Y').'"
data-date-text="'.JText::_('MOD_NEWS_PRO_GK5_PORTAL_MODE_PORTFOLIO2_DATE_TEXT').'"
data-author="'.$this->parent->content[$i]['author_username'].'"
data-author-text="'.JText::_('MOD_NEWS_PRO_GK5_PORTAL_MODE_PORTFOLIO2_AUTHOR_TEXT').'"
data-img="'.strip_tags($this->get_image($i)).'"';
}
echo '>';
echo '<img src="'.strip_tags($this->get_image($i, true)).'" alt="'.strip_tags($this->parent->content[$i]['title']).'" />';
echo '</a>';
}
}
in controller.php in portfolio2 folder.
I know that is what fills the fields later in the script. The only thing I need is change all data into item
fulltext but I dont know what syntax to use and what is the correct string.
Also, that should not strip the html from the article. This way the possibilities are endless.
Thanks,
Gorast