Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Gallery Style / Display Mode for Each K2 Category Based on Sub-template

  • Lewis Design Associates, Inc.
  • Lewis Design Associates, Inc.'s Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #45803 by Lewis Design Associates, Inc.
I have created custom sub-templates for several of my K2 categories. Is it possible to set a different default display mode for each of the templates. It seems logical to insert an override within the template itself in order to achieve this. For example, K2 Category One will display the gallery in artistic view if I select custom item view sub-template one. If I apply custom item view template two to K2 Category One, the gallery would be display in the sleek view.

ML

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

More
12 years 11 months ago #45804 by Katia
Yes you can. Check the documentation please:

If we wanted to override the popup engine and the gallery layout as well, we could use something like:
{gallery}folder/some_folder:200:80:1:2:jquery_colorbox:Galleria{/gallery}

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