Keyword

"View Items" link with sub-category title.

  • Profit-Brokers Inc.
  • Profit-Brokers Inc.'s Avatar Topic Author
  • Offline
  • New Member
More
12 years 3 weeks ago - 12 years 3 weeks ago #103049 by Profit-Brokers Inc.
"View Items" link with sub-category title. was created by Profit-Brokers Inc.
Is there any way to get rid of this useless link that shows with the sub-categories title. I don't why this should be there when the title itself is a link the the items in that sub-category.

Will appreciate some help.

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

More
12 years 3 weeks ago #103050 by Jake Knight
Replied by Jake Knight on topic Re: "View Items" link with sub-category title.
Sure.

First, you should go to your template folder via ftp,
Go to or create a folder called html,
Go to or create a folder called com_k2,

Here you will want to copy the folder "default" and its contents from Components > com_K2 > templates > to the new folder you created above.

So now you should have /templates/{your_template}/html/com_k2/default on your server.

Open the file category.php.

Remove line 112-115:

<!-- Subcategory more... -->
<a class="subCategoryMore" href="<?php echo $subCategory->link; ?>">
<?php echo JText::_('K2_VIEW_ITEMS'); ?>
</a>

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


Powered by Kunena Forum