Keyword

Same Category, 2 different templates using menu items

  • Steven Pullen
  • Steven Pullen's Avatar Topic Author
  • Offline
  • New Member
More
13 years 10 months ago #90753 by Steven Pullen
Hello,I have K2 set up on my website, which uses my default Joomla template.  I would like to set up a sub-site, such as www.domain.com/products2 which uses the same products but with a different website skin (template).I've created a new menu, added the menu links for K2 in this new menu, and using Joomla template manager assigned my new template to those menu items.This works great, but when you click the items within the category, it takes you back to the default template.Can I fix this?ThanksSteve

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

  • Steven Pullen
  • Steven Pullen's Avatar Topic Author
  • Offline
  • New Member
More
13 years 10 months ago #90754 by Steven Pullen
Replied by Steven Pullen on topic Same Category, 2 different templates using menu items
Just to make it clearer,

Default Website - www.studioitalia.com.au/collection/ceiling
Separate Sub-Site, same products, different skin - www.studioitalia.com.au/mondoluce/ceiling

Everything works great on the sub-site until you actually click an item, as it redirects you to the default website.

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

More
13 years 10 months ago #90755 by Jiliko.net
HI Steven,

This could be done by a K2 plugin that changes the default item link with the one you want.

Olivier

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

  • Steven Pullen
  • Steven Pullen's Avatar Topic Author
  • Offline
  • New Member
More
13 years 10 months ago #90756 by Steven Pullen
Replied by Steven Pullen on topic Same Category, 2 different templates using menu items
Olivier Nolbert said:HI Steven,
This could be done by a K2 plugin that changes the default item link with the one you want.

Olivier


Can you send me the link to this plugin??

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

  • Steven Pullen
  • Steven Pullen's Avatar Topic Author
  • Offline
  • New Member
More
13 years 10 months ago #90757 by Steven Pullen
Replied by Steven Pullen on topic Same Category, 2 different templates using menu items
FYI on those trying to help, K2 does actually create the item page with the correct template, just doesn't link to the correct URL in category view:

Example
www.studioitalia.com.au/collection/wall/item/1547-
www.studioitalia.com.au/mondoluce/wall/item/1547-

I may need to manually build the link in my category template, ie:
/collection/%category%/item/%itemalias%

Is there a better solution?
Steve

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

  • Steven Pullen
  • Steven Pullen's Avatar Topic Author
  • Offline
  • New Member
More
13 years 9 months ago #90758 by Steven Pullen
Replied by Steven Pullen on topic Same Category, 2 different templates using menu items
A little frustrating, but I ended up creating a new K2 template for my section, and editing the category_item.php file.

In this file, I replaced the K2 generated link value with:
href="www.studioitalia.com.au/mondoluce//item/-">;

Got there in the end.


steven.pullen said:FYI on those trying to help, K2 does actually create the item page with the correct template, just doesn't link to the correct URL in category view:
Example
www.studioitalia.com.au/collection/wall/item/1547-
www.studioitalia.com.au/mondoluce/wall/item/1547-

I may need to manually build the link in my category template, ie:
/collection/%category%/item/%itemalias%

Is there a better solution?
Steve

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


Powered by Kunena Forum