Keyword

Set gallery parameters in template code

  • jamesrward
  • jamesrward's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 6 months ago #82828 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:Code:
<?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