Keyword

use same category twice with different template

More
10 years 6 months ago #126806 by fred
Hello,

IS there any way to use the same category twice in a category view component, once on one page with CustomTemplateA and once on another page with CustomTemplateB ?

I haven't found a way to overwrite the template i set at category level in the back office of k2, so all category views of that same category inherit it.

Thanks in advance for any answers!

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

More
10 years 6 months ago #126807 by Lefteris
Hi. Can you please clarify? Are you talking about K2 templates or Joomla! template styles? If you are talking about K2 templates, each K2 category can only have one.

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

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

More
10 years 6 months ago #126808 by fred
Hello,

thanks for your reply.

Yes i was talking about custom k2 category view templates.

I "solved" the problem by using the category (that already had a custom k2 template assigned to it) + an empty category as categories to be shown by the category view component, which allowed me to set an override template for "multiple categories".

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

More
10 years 6 months ago #126809 by Lefteris
Glad to hear that you have found a workaround. It's not optimal but it's a clever one.

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

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


Powered by Kunena Forum