on Portfolio Grid option for NSP on roll over on the image it shows the Title, Date and Author.
In controller.php I learned that this code is for the author name:
- Code: Select all
// Author
if($this->parent->config['portal_mode_portfolio_grid_author'] != 0) {
echo '<span>'.$this->parent->content[$i]['author_username'].'</span>';
}
echo '</span>';
I guess that the same way I can get the other fields even the extra fields but I cannot find out how and where is this defined. Where do you assign 'author_username' for the authors name since in the K2 item the syntax for author data is: $this->item->params->get('itemAuthor').
It has to do something with the content[$i] but not sure where to search.
Thanks,
Gorast