Keyword

Adding author name to more... container in category view (links count)

  • Chris Rowinski
  • Chris Rowinski's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93859 by Chris Rowinski
Subject says it all, trying to add the authors name to the links count in category view. I've set 20 links to appear below the Leading, Primary and Secondary articles.

 

The links only contain the article title though... Anyone know how to add an author right next to the article title there?

 

Thanks!

Please Log in or Create an account to join the conversation.

  • Chris Rowinski
  • Chris Rowinski's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93860 by Chris Rowinski

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #93861 by Terry Britton
In the backend in item view options under the appropriate category set author to show.  I don't use that layout, but should work.

Please Log in or Create an account to join the conversation.

  • Chris Rowinski
  • Chris Rowinski's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93862 by Chris Rowinski
thanks Terry, unfortunately, the backend doesn't have any options for the links that are displayed beneath the item category view...

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #93863 by Terry Britton
In category_items_links.php right after the closing </h3> add the following:

<?php echo $this->item->author->username; ?>

or

<?php echo $this->item->author->name; ?>

depending on the format you want.

 

Please Log in or Create an account to join the conversation.

  • Chris Rowinski
  • Chris Rowinski's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #93864 by Chris Rowinski
thanks Terry! worked like a charm, much appreciated!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum