Keyword

Module category title link back to category?

More
12 years 3 months ago #67654 by sicop
Ok hi everyone.

im looking for a way to link the title to the category just joomla would do, when i publish a k2 category module i would like the title to link back to that category.

i tried with - Custom link title from within the module with no success im probally just missing something right?

or is there a way to hack it to make it work ? please

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

More
12 years 3 months ago #67655 by sicop

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

More
12 years 3 months ago #67656 by Lefteris
Hi. Have you enabled the category setting in the module? Once you do that K2 will display the category of the item linked.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 3 months ago #67657 by sicop
enable what exactly

what do you mean ? Module Manager: Module K2 content


i tried playing with these option bellow before without any result
Custom link at the bottom
Custom link title
Custom link URL
Or select a Joomla! menu item

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

More
12 years 3 months ago #67658 by Lefteris
Each item has it's own category with it's own link. If you have all the items from the same category then you can use:
<a class="moduleItemCategory" href="<?php echo $items[0]->categoryLink; ?>"><?php echo $items[0]->categoryname; ?></a>

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 3 months ago #67659 by sicop
ok ..

i have look inside this file modules/mod_k2_content/tmpl/Default/default.php
i have the same line... im not sure i understand what you mean

all my item have their own category. if you can take a look in my signature the main page in my website i use k2 to display 6 news article of each category, but the category title dont link to the category?
still havent figure out to do this.

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

More
12 years 3 months ago #67660 by sicop
bump !

Can someone out there help me out with this issue ? please.

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

More
12 years 3 months ago #67661 by sicop
Lefteris Kavadas ? can u help me with this please??

is there a nother forum for k2 help or this is it ?

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

More
12 years 3 months ago #67662 by Lefteris
The default K2 content module links item categories by default. So if you do not see the categories linked check that you have not any template overrides that are missing the link code.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 3 months ago #67663 by sicop
thank for trying to help me...

i still havent figure how to do this ill have a look at my template and let the community know when i find the awnser..

im using artisteer template!

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


Powered by Kunena Forum