Hi,
I don't know why, by the items listing in the home page shows on the modules the name of the user that has written the item. And in the category listing and the full item page it shows the Autor Alias (preferable) in case there is one.
I want it to show always the Alias, if there is, also at the home page like on the other sections. Where should I configure this?
I have found more or less the solution, but I don't know how to implement it !
this is the code in mod_jxtc_k2_contentwall/tmpl/default_parse.php :
$userid = $item->created_by;
And I need it to be like this :
<?php if(empty($this->item->created_by_alias)): ?>
<?php else: ?>
<?php echo $this->item->author->name; ?>
<?php endif; ?>
Does anyone know? Thanks!