Keyword

K2 Tools Authors list missing extended fields

  • yaksushi
  • yaksushi's Avatar Topic Author
  • Offline
  • Premium Member
More
12 years 5 months ago #65750 by yaksushi
I'm trying to display a list of all the authors on the site. The K2 Tools allows you to do this but doesn't display the plugin authors user extended fields. How can I display a list of authors with their descriptions and the user extended fields displayed?

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

More
12 years 4 months ago #65751 by danionic
I am trying to do a similar thing. Basically i just want the author description to appear in the sidebar along with the avatar and title

I took a look at the modules > k2 tools > tmpl > authors.php file.

I tried inserting:

<?php echo $author->description; ?>


after this (line 25/26):

<a class="abAuthorName" rel="author" href="<?php echo $author->link; ?>">
<?php echo $author->name; ?>

however this didnt seem to yield any results. My php is kinda crappy though so not sure if this is the right way to do it, however it seemed that in the helper.php file, there is a variable stored for the user called 'description'.



Im currently getting round it by using a custom html module with the two authors info in it, however this isnt going to be as dynamic when more authors get added to the blog.

Any help woul dbe greatly appreciated!

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

  • yaksushi
  • yaksushi's Avatar Topic Author
  • Offline
  • Premium Member
More
12 years 4 months ago #65752 by yaksushi
Daniel did you ever figure out anything on this? I'm still stuck.

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

More
12 years 4 months ago #65753 by Hayatt

yaksushi wrote: I'm trying to display a list of all the authors on the site. The K2 Tools allows you to do this but doesn't display the plugin authors user extended fields. How can I display a list of authors with their descriptions and the user extended fields displayed?


Hi yaksushi,
How did you manage to have a list of authors?
I'd appreciate if you can help me with that.

Thanks. :)

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


Powered by Kunena Forum