- Posts: 157
COMMUNITY FORUM
K2 Tools Authors list missing extended fields
- yaksushi
- Topic Author
- Offline
- Premium Member
Less
More
12 years 5 months ago #65750
by yaksushi
K2 Tools Authors list missing extended fields was created 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.
- danionic
- Offline
- New Member
Less
More
- Posts: 12
12 years 4 months ago #65751
by danionic
Replied by danionic on topic Re: K2 Tools Authors list missing extended fields
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!
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
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 157
12 years 4 months ago #65752
by yaksushi
Replied by yaksushi on topic Re: K2 Tools Authors list missing extended fields
Daniel did you ever figure out anything on this? I'm still stuck.
Please Log in or Create an account to join the conversation.
- Hayatt
- Offline
- New Member
Less
More
- Posts: 3
12 years 4 months ago #65753
by Hayatt
Hi yaksushi,
How did you manage to have a list of authors?
I'd appreciate if you can help me with that.
Thanks. :)
Replied by Hayatt on topic Re: K2 Tools Authors list missing extended fields
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.