Altering the details in Portfolio II look for NSP5

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Aug 18, 2014 6:42 pm
Hi, how can I alter the details that show on the right and change the image that shows?
I need different image from the thumb and some text on the right.

The website is http://gorast.com/soravia/#gkPageContent

Plus the height is wrong, but I can fix that later.

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Mon Aug 18, 2014 10:34 pm
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
User avatar
Platinum Boarder

GK User
Thu Aug 21, 2014 9:03 am
Someone on this? I would really appreciate help on this one!

Thanks,
Gorast
User avatar
Platinum Boarder


cron