Keyword

View Items

  • nano02
  • nano02's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 3 months ago #70257 by nano02
View Items was created by nano02
How do I remove the "View Items ..." in sub-categories?

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

More
15 years 1 month ago #70258 by Ethan
Replied by Ethan on topic View Items
I would also like to remove the "view items..." link. It seems redundant since the user can click on the title or image to click through to the desired category.

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

  • nano02
  • nano02's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 1 month ago #70259 by nano02
Replied by nano02 on topic View Items
I found a solution a bit drastic but it works is going to the language file and put the blank value

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

More
14 years 11 months ago #70260 by jeanchristophe
Replied by jeanchristophe on topic View Items
Thanks for your answer nano02, but could it be done more nicely?

Thank you
Best regards
Jean-Christophe

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

More
14 years 11 months ago #70261 by Jochen Kästle
Replied by Jochen Kästle on topic View Items
I can imagine several solutions - depending on where to change the code: The most elegant way woul be to create your own subtemplate and make changes there. The other way go to the "componentes/com_k2/templates/default" folder and open category.php . Around line 105 you will find a HTML-Comment followed by the code for a link ([a class=subCategoryMore ... [/a]) inside there is a php echo JText::_('View items...'). Neither remove the whole code between and div=class"clr" (around line 107) or just use a HTML Comment to prevent Joonla to use this code. I would recommend just to use the comment. So if you sometimes want to get the link back just remove comment symbol ( ) and voila ;)
PS: Backup your site before, safety first ;)
PPS: Code simpflied < >replaced by [ ]

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

More
14 years 11 months ago #70262 by jeanchristophe
Replied by jeanchristophe on topic View Items
Hello,

Thank you very much Jochen for your answer!

Have a nice day
Best regards
Jean-Christophe

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


Powered by Kunena Forum