1. Iankellett
  2. Commercial Templates
  3. Monday, 17 March 2014
  4.  Subscribe via email
Is there a way of increasing the number of images allowed in the grid gallery in Renovate please? I saw another post with the same question but was unable to fired
$max_images =

http://www.solwacraft.co.uk/home
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Sorry to say at present our GridGallery extension can only display up 15 images. This is restricted by the number of fields set in the templates parameters. To edit this you will have to repeat the following in your modules mod_j51gridgallery.xml..


<fieldset name="IMAGES_15">
<field name="j51_image15" type="media" default="" label="MOD_J51_IMAGEPATH" description="MOD_J51_IMAGEPATH_DESC" size="30" />
<field name="j51_image_alt15" type="text" size="60" default="" label="MOD_J51_IMAGEALT" description="MOD_J51_IMAGEALT_DESC" />
<field name="j51_title15" type="text" size="60" default="" label="MOD_J51_IMAGETITLE" description="MOD_J51_IMAGETITLE_DESC" />
<field name="j51_text15" type="textarea" filter="raw" rows="4" cols="42" default="" label="MOD_J51_IMAGETEXT" description="MOD_J51_IMAGETEXT_DESC" />
<field name="j51_disablecaption15" type="radio" default="no" label="MOD_J51_DISABLECAPTION" description="MOD_J51_DISABLECAPTION_DESC"
checked="checked"
class="btn-group">
<option value="no">JNO</option>
<option value="yes">JYES</option>
</field>
<field name="image_url15" type="menuitem" default="45" label="MOD_J51_MENUITEM" description="MOD_J51_MENUITEM_DESC" published="1"/>
<field name="j51_disableurl15" type="radio" default="no" label="MOD_J51_DISABLEURL" description="MOD_J51_DISABLEURL_DESC"
checked="checked"
class="btn-group">
<option value="no">JNO</option>
<option value="yes">JYES</option>
</field>
<field name="target_url15" type="radio" default="_self" label="MOD_J51_URLTARGET" description="MOD_J51_URLTARGET_DESC"
checked="checked"
class="btn-group">
<option value="_self">JNO</option>
<option value="_blank">JYES</option>
</field>
</fieldset>


For each repeat of this you will have to increase the digit by one..

eg..


<fieldset name="IMAGES_16">
<field name="j51_image16" type="media" default="" label="MOD_J51_IMAGEPATH" description="MOD_J51_IMAGEPATH_DESC" size="30" />
<field name="j51_image_alt16" type="text" size="60" default="" label="MOD_J51_IMAGEALT" description="MOD_J51_IMAGEALT_DESC" />
<field name="j51_title16" type="text" size="60" default="" label="MOD_J51_IMAGETITLE" description="MOD_J51_IMAGETITLE_DESC" />
<field name="j51_text16" type="textarea" filter="raw" rows="4" cols="42" default="" label="MOD_J51_IMAGETEXT" description="MOD_J51_IMAGETEXT_DESC" />
<field name="j51_disablecaption16" type="radio" default="no" label="MOD_J51_DISABLECAPTION" description="MOD_J51_DISABLECAPTION_DESC"
checked="checked"
class="btn-group">
<option value="no">JNO</option>
<option value="yes">JYES</option>
</field>
<field name="image_url16" type="menuitem" default="45" label="MOD_J51_MENUITEM" description="MOD_J51_MENUITEM_DESC" published="1"/>
<field name="j51_disableurl16" type="radio" default="no" label="MOD_J51_DISABLEURL" description="MOD_J51_DISABLEURL_DESC"
checked="checked"
class="btn-group">
<option value="no">JNO</option>
<option value="yes">JYES</option>
</field>
<field name="target_url16" type="radio" default="_self" label="MOD_J51_URLTARGET" description="MOD_J51_URLTARGET_DESC"
checked="checked"
class="btn-group">
<option value="_self">JNO</option>
<option value="_blank">JYES</option>
</field>
</fieldset>


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you for the response.

From this I suspect there is a good reason for the number of images to be limited to 15, so I will re-arrange around that number.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok