Keyword

Module category title link back to category?

More
11 years 4 months ago #67664 by Ralf Longwitz
Replied by Ralf Longwitz on topic Re: Module category title link back to category?
Hi sicop,

too bad you didn't receive the solution. It's not that difficult, really. Although my solution is not a nice one one and I'd hope there is (or someday will be) a better one.

I simply hid the title in the module and then added this to
\templates\joostrap\html\mod_k2_content\Default\default.php
<a href="index.php?option=com_k2&view=itemlist&layout=category&task=category&id=6&Itemid=140"><h3>Latest News</h3></a>

Mine is a News category, and I copied the URL from a link that I created in an article. If I now change anything about the category, the link will break, of course ... Also, the <a> tags should not be around the <h3> tags, but in my case it's necessary to avoid difficulties with the styling.

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


Powered by Kunena Forum