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.

Set gallery parameters in template code

  • jamesrward
  • jamesrward's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 8 months ago #32701 by jamesrward
Set gallery parameters in template code was created by jamesrward
I have my default gallery settings to Display Mode Single Thumbnail but for some of my K2 Items I would like them to use the multiple thumbnail mode.  Since this group of Items will be using a custom template I should be able to pass the parameters in via the php code that loads the gallery similar to the way parameters can be entered directly into an xml textfield.  Somewhere in this line of code I assume:
<?php echo $this->item->gallery; ?>

Is there a documented method for passing parameters into the gallery call?  If not does anyone have any experience hacking this in?

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


Powered by Kunena Forum