Keyword

Templating issue, 2 templates for same K2 article

More
12 years 4 months ago #66069 by Greg
Hi there,

Basically I have 2 templates running in the site assigned to different Menu's

MM (Menu 1 - using template 1)
-News
-Reviews
-Debate

MMFB (Menu 2, Hidden for a Facebook app - using template 2)
-News-FB
-Reviews-FB
-Debate-FB

Okay so the issue is that both of the menus pull the same K2 articles from the same categories. Each menu item is a K2 category. What I hoped would happen would be that depending on where the article was clicked from.... unfortunately not.

No matter where the article was clicked on from it shows template 1... there are 2 versions of the template for each article

www.motor-mouth.co.uk/index.php/MM-NEWS/item/49-surgically-attached-ipod - template 1
AND
www.motor-mouth.co.uk/index.php/MMFB-NEWS/item/49-surgically-attached-ipod - template 2

The snag is that even in when the article is accessed from template 2 the link is for the MM version (template1) of the article and note the MMFB which is template 2.

I originally though it was a Joomla templating issue but it's the K2 category page that is spewing the wrong links.

Any help of suggestions would be a start... and apologies for such a long long post!

Greg

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


Powered by Kunena Forum