solved Image Gallery Slideshow Not Showing Buttons, Info, or advancing

iamtimbo
@iamtimbo
8 years ago
301 posts
As above, really. Has been reported by a user, so I'm not sure when it stopped working, but I've not altered any templates for quite a while in the image galleries.

Assume it's still working for others, and that I have a local problem....
updated by @iamtimbo: 02/16/17 04:14:43PM
douglas
@douglas
8 years ago
2,790 posts
iamtimbo:
As above, really. Has been reported by a user, so I'm not sure when it stopped working, but I've not altered any templates for quite a while in the image galleries.

Assume it's still working for others, and that I have a local problem....

Which skin and what page is the slider on?

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
iamtimbo
@iamtimbo
8 years ago
301 posts
Hi, Douglas,

It's on the slate skin, on a custom template based on the item_list.tpl template.

Here in fact: http://ourtownstory.co.uk/wimborne-minster-dorset-england-bh21-1

There's something in the back of my mind that tells me this is an Aparna clone of the Galleries index page.

EDIT:

The last bit is probably irrelevant - it's the jrGallery item_list.tpl with the following:

<div class="gallery_lightbox" style="padding-left:15px"> 
 <a href="{$jamroom_url}/{$murl}/image/gallery_image/{$_items[0]._item_id}/1280" data-lightbox="images" title="{$item.gallery_caption|default:$item.gallery_image_name|jrGallery_title_name:$item.gallery_caption}">{jrCore_icon icon="search2"}  <h3>{jrCore_lang module="jrGallery" id="37" default="View all {$profile_place} images in slideshow"}</h3></a>
</div>

updated by @iamtimbo: 11/17/16 11:14:14AM
douglas
@douglas
8 years ago
2,790 posts
I'm not seeing an image slider at this URL:
http://ourtownstory.co.uk/wimborne-minster-dorset-england-bh21-1

However... this is wrong:

{jrCore_lang module="jrGallery" id="37" default="View all {$profile_place} images in slideshow"}

should be something like this:

{jrCore_lang module="jrGallery" id="37" default="View all `$profile_place` images in slideshow"}

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
8 years ago
7,714 posts
in smarty3 nested {$variables} are allowed, so either of those code above are ok.

The issue is your light box is missing buttons.

On this page:
http://ourtownstory.co.uk/iamtimbo/gallery/dorset-miscellaneous/all

the buttons do work, so its something with the page setup that needs fixing.

On this page the next image does not work:
http://ourtownstory.co.uk/wimborne-minster-dorset-england-bh21-1

The reason for this is the a href links to the rest of the images on the page do not have:
data-lightbox="images"
on them so the image slider system doesnt know which to display next.

If you want the lightbox to work, add that to the images.
iamtimbo
@iamtimbo
8 years ago
301 posts
Thank you both, as usual. 'Language' couldn't be a better word for this code. If you don't use it, you lose it, and it's so long since I've used it, I've lost it a bit (some would say on many levels....)

Sincere thanks.