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.

Disable popup in Galeria template or enable Slideshow

  • Harry Bevers
  • Harry Bevers's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #52023 by Harry Bevers
Hello,

Can anybody tell me if it is possible to disable the popup engine in the galleria template or to activate the sideshow capability (better!).
Now you always get one image, with no possibility of next or previous.

Thanks!

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

More
10 years 11 months ago #52024 by paul knaggs
I have seen many people ask for this and as yet I haven't seen an answer so I will let you know how I did it.

within plugins\content\tmpl\Galleria\default.php change the following:

<a href="<?php echo $gallery[0]->sourceImageFilePath; ?>" class="sigProGalleriaTargetLink<?php echo $extraClass; ?>" rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]" title="<?php echo $gallery[0]->captionDescription.$gallery[0]->downloadLink.$modulePosition; ?>" target="_blank"<?php echo $customLinkAttributes; ?>>
<img class="sigProGalleriaTargetImg" src="<?php echo $gallery[0]->sourceImageFilePath; ?>" alt="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$gallery[0]->filename; ?>" title="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$gallery[0]->filename; ?>" />
</a>

to the below:

<a class="sigProGalleriaTargetLink" rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]" title="<?php echo $gallery[0]->captionDescription.$gallery[0]->downloadLink.$modulePosition; ?>" target="_blank"<?php echo $customLinkAttributes; ?>>
<img class="sigProGalleriaTargetImg" src="<?php echo $gallery[0]->sourceImageFilePath; ?>" />
</a>

then within plugins\content\tmpl\Galleria\js\behaviour.js comment out line 51

//targetLink.attr("href",sourceLinkHref);

This worked for me in SIGPro 3.0, hope it works for you too.

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

More
10 years 11 months ago #52025 by JoomlaWorks
We'll be removing the link in the main image of the Galleria gallery layout in the upcoming version 3.0.2.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 11 months ago #52026 by Justin Thomas
Kudos to pak77

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

More
10 years 6 months ago #52027 by Duarte Nunes

We'll be removing the link in the main image of the Galleria gallery layout in the upcoming version 3.0.2.


I'm using v3.0.3 and the link is still there...

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

More
10 years 5 months ago #52028 by terk
Hi, my solution to add a slideshow inline the page w. navigation and now popup engine was to look on the website of Galeria  - I guess the source for the Galeria layout in Sig Pro. Downloaded their classic template and made it an override in Sig Pro - created folder in myTemplate/html/jw_sigpro, after that set that layout in the sigpro settings.
It's not ideal for I can not cancel the use of the popup engine in the sigpro settings and eventhough I dont use a popup still the engine js file is loaded, but at least I have a slideshow with single image and navigation instead of grid of images. My struggle now is to make the slideshow serve adaptive images for the various breakpoints of the responsive mediaqueries.

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

More
10 years 3 weeks ago #54968 by Matt Antonio
Version 3.0.4 and the link is STILL there

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

More
10 years 5 hours ago #55218 by Elena
I have used this code and has disabled the pop-up, but it does not activate the slideshow. I thought that if I disable pop-up images in Galeria template would start automatically to slide as slideshow. But it does not.

Does someone know how to do that?

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


Powered by Kunena Forum