K2 Categories

More
12 years 3 weeks ago #26881 by justmeyogs
K2 Categories was created by justmeyogs
Hi there,

I am trying to get to K2 items using direct links however I am finding that if a K2 category is not tied to a menu item, the items are not accessible. The reason I am trying to do it this way is because I have an article that has links to all K2 items and I dont want the categories to be linked to the menu item but this article that I created.

I hope I made sense. Please ask for any clarification if needed.

Thanks

Yogesh

Please Log in to join the conversation.

More
12 years 3 weeks ago - 12 years 3 weeks ago #26890 by ivan.milic
Replied by ivan.milic on topic K2 Categories
Open templateDetails.xml

In <positions> element add

<position>hidden</position>

then open index.php , just before </body> add:

<div style="display:none;" >
<jdoc:include type="modules" name="hidden" style="xhtml" />
</div>

Then create menu and module for it and put it in that hidden module position.

You can put menu items like that in that menu
Last edit: 12 years 3 weeks ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.144 seconds
Powered by Kunena Forum