- Posts: 9
COMMUNITY FORUM
Disable POP UP function
- atomicdev
-
Topic Author
- Offline
- New Member
Less
More
11 years 2 months ago #54370
by atomicdev
Disable POP UP function was created by atomicdev
Hi,
Does anyone know how to disable the pop up function with this plug-in please?
I'm quite happy with the thumbnail style, don't want any thumbs to enlarge on the page...
Does anyone know how to disable the pop up function with this plug-in please?
I'm quite happy with the thumbnail style, don't want any thumbs to enlarge on the page...
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 2 months ago #54371
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Disable POP UP function
You should override your template (check the documentation for instructions - www.joomlaworks.net/docs/simple-image-gallery ) and remove all link elements. This means remove all the tags. Some tweaking in the css might be needed afterwards.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- atomicdev
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
11 years 2 months ago #54372
by atomicdev
Replied by atomicdev on topic Re: Disable POP UP function
I'm sorry but which file am I to make this edits to?? Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 2 months ago #54373
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Disable POP UP function
it the default.php.
First you should override the template so you won't lose any changes when you update the extension.
The file is located at: /plugins/content/jw_sig/jw_sig/tmpl/
First you should override the template so you won't lose any changes when you update the extension.
The file is located at: /plugins/content/jw_sig/jw_sig/tmpl/
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- atomicdev
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
11 years 2 months ago #54374
by atomicdev
Replied by atomicdev on topic Re: Disable POP UP function
I've already added all my images so as a newbie please can you tell me the steps I should take in order not to lose any changes... how to override and what code would I comment out in the default.php file?
Hopefully your help will help others too looking for this option
Hopefully your help will help others too looking for this option
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 2 months ago #54375
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Disable POP UP function
Actually a detailed documentation is available here: www.joomlaworks.net/docs/simple-image-gallery
Once you override the template you need to remove the <a> links. eg:
andshould go.
Some CSS tweaks might be required.
Once you override the template you need to remove the <a> links. eg:
<a href="<?php echo $photo->sourceImageFilePath; ?>" class="sigFreeLink<?php echo $extraClass; ?>" style="width:<?php echo $photo->width; ?>px;height:<?php echo $photo->height; ?>px;" rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]" title="<?php echo JText::_('JW_PLG_SIG_YOU_ARE_VIEWING').' '.$photo->filename; ?>" target="_blank"<?php echo $customLinkAttributes; ?>>
</a>
Some CSS tweaks might be required.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Ralf Longwitz
-
- Offline
- Junior Member
Less
More
- Posts: 35
8 years 6 months ago #157919
by Ralf Longwitz
Replied by Ralf Longwitz on topic Disable POP UP function
Hi,
I know, this is an old topic, but still, I cannot find a solution. I am using the Simple Image Gallery, which works fine. But when clicking an image, in addition to the SIG popup, there is also the standard K2 popup.
The only way I found to fix that, is to delete \media\k2\assets\js\jquery.magnific-popup.min.js.
(SIG loads it's own copy: \plugins\content\jw_sigpro\jw_sigpro\includes\js\jquery_magnificpopup\jquery.magnific-popup.min.js)
There must be a better way, especially since that file returns at each update.
How?
Thanks.
I know, this is an old topic, but still, I cannot find a solution. I am using the Simple Image Gallery, which works fine. But when clicking an image, in addition to the SIG popup, there is also the standard K2 popup.
The only way I found to fix that, is to delete \media\k2\assets\js\jquery.magnific-popup.min.js.
(SIG loads it's own copy: \plugins\content\jw_sigpro\jw_sigpro\includes\js\jquery_magnificpopup\jquery.magnific-popup.min.js)
There must be a better way, especially since that file returns at each update.
How?
Thanks.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 6 months ago #157921
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Disable POP UP function
Hello Ralf,
Can you send me a link to the issue please?
Furthermore, you can use overrides so the changes are kept when you update the extension, more info on overrides can be found here: www.joomlaworks.net/support/docs/simple-image-gallery
Can you send me a link to the issue please?
Furthermore, you can use overrides so the changes are kept when you update the extension, more info on overrides can be found here: www.joomlaworks.net/support/docs/simple-image-gallery
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Ralf Longwitz
-
- Offline
- Junior Member
Less
More
- Posts: 35
8 years 5 months ago #158564
by Ralf Longwitz
Replied by Ralf Longwitz on topic Disable POP UP function
Hello Krikor,
one example: www.meerstetter.ch/products/tec-controllers/tec-1091
See the product images? A large image pops up when you click on them. It works now, because I deleted jquery.magnific-popup.min.js. If I don't delete it after every update, there will be two popups on top of each other. I'd be glad to find a permanent solution.
one example: www.meerstetter.ch/products/tec-controllers/tec-1091
See the product images? A large image pops up when you click on them. It works now, because I deleted jquery.magnific-popup.min.js. If I don't delete it after every update, there will be two popups on top of each other. I'd be glad to find a permanent solution.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #158569
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Disable POP UP function
Hello Ralf,
This is related to the PRO version.
Support is handled through the helpdesk. In the ticket, please include Super User access since template modifications might be needed.
This is related to the PRO version.
Support is handled through the helpdesk. In the ticket, please include Super User access since template modifications might be needed.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.