• Register or
  • Sign In
    • Forgot your password?
    • Forgot your username?
    Or sign in with your account on:
    Facebook
    Twitter
    Google
    LinkedIn

K2 | The powerful content extension for Joomla! developed by JoomlaWorks

  • home
  • about
  • blog
  • documentation
  • extend K2
  • showcase
  • community
  • demo
adding the missing features in Joomla!
  • Index
  • Recent Topics
  • Search
Welcome, Guest

To post messages, you need to login first.
K2 Community Forum
K2 Community Forum
New to K2? Ask here first!

How to add the Author to the Tag Page
(1 viewing) (1) Guest
Reply Topic
New Topic
  • Page:
  • 1

TOPIC: How to add the Author to the Tag Page

How to add the Author to the Tag Page 3 months, 2 weeks ago #170045

  • Steven
  • ( User )
  • OFFLINE
  • Senior Boarder
  • Posts: 54
Hi I am working on styling my tag page and having trouble adding the author to the tag page.

Here is the code that I am using:

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


Any suggestions on how to display the author name and link on a Tag page?

http://onlinebackupsearch.com/tag/howto.html
Joomla Tutorials and Guides
jbeginner.com
Reply Quote

Re: How to add the Author to the Tag Page 3 months, 2 weeks ago #170193

  • Andrey Miasoedov
  • ( User )
  • OFFLINE
  • Senior Boarder
  • Posts: 62
Hello, Steven.

Unfortunately, it is not possible without K2 core modifications, because author block enabled in specific K2 sections.

You can check it in components\com_k2\models\item.php

Find "//Author" at line ~228 and condition for generate author block, you can add " || $task == 'tag'" for enable it at tag page.
Reply Quote

Re: How to add the Author to the Tag Page 3 months, 2 weeks ago #170219

  • Axel
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
THANK YOU! This should be on top of the K2 forum! Or "Andrey Miasoedov" should get a price from K2 for openly publishing a suggestion on how to fix this issue.

The ONE (of a couple of) place(s) (on a site with more than one publisher) where it is imperative that you can display the author it isn't possible by default?!

Don't get me wrong, I love K2 and everything about it (almost, apparently hehe), but this feels more like an oversight

Anyway, thank you again for this working solution.

To any K2 dev team member reading this... Please consider adding the option of displaying the author on ANY and ALL possible pages where author and content go hand in hand and thank you as well for a superior CMS add on (that should be a part of Joomla core )
Reply Quote

Re: How to add the Author to the Tag Page 2 months, 3 weeks ago #171079

  • Steven
  • ( User )
  • OFFLINE
  • Senior Boarder
  • Posts: 54
Hi Andrey, Thanks for the reply and the answer

Do you think there is any chance that this could get worked into the K2 core?

I really try to avoid changing any K2 core files.



Thanks! -- Steven
Joomla Tutorials and Guides
jbeginner.com
Reply Quote
Reply Topic
New Topic
  • Page:
  • 1
K2 Community Forum
K2 Community Forum
New to K2? Ask here first!
Find this topic helpful? Why not share it with others?
Tweet
Powered by Kunena
Time to create page: 0.36 seconds
Advertisement
  • Contact us
  • Join the K2 Expert Companies list
  • Privacy Policy
back to top
Copyright © 2006 - 2013 JoomlaWorks Ltd.. All rights reserved. K2 is a joint project by JoomlaWorks Ltd. & Nuevvo Webware Ltd., released under the GNU/GPL v2 license.
Joomla! is a registered trademark of Open Source Matters, Inc. JoomlaWorks/Nuevvo are not affiliated with or endorsed by Open Source Matters or the Joomla! Project.
designed by Nuevvo