add authors in lists link

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
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
Sun Sep 25, 2011 11:42 am
Hi, I would add the author name in this module.

I have modify the file content.php :

Code: Select all
            <ul class="nspList">
               

               <?php for($j = 0; $j < count($news_list_tab); $j++) : ?>


               <?php echo $news_list_tab[$j]; ?>
                   
               <a class="author" href="#"><?php echo 'di '.$this->content['author'][$j]; ?></a>
               
                 
                   
               <?php endfor; ?>


            </ul>


but don't work please help me!!!!

:unsure:
User avatar
Fresh Boarder

GK User
Mon Sep 26, 2011 8:51 am
Solved in:

layout.part.php add in function lists param $author

and in helper.php

line 672

Code: Select all
array_push($news_list_tab, $renderer->lists($this->config, $this->content['ID'][$i], $this->content['CID'][$i], $this->content['title'][$i], $this->content['text'][$i], $li_counter % 2, $li_counter, $this->content['author'][$i]));


B)
User avatar
Fresh Boarder

GK User
Mon Sep 26, 2011 8:59 am
You should add a screenshot so every one can see how it looks ; )
User avatar
Platinum Boarder


cron