It is currently Thu Dec 14, 2017 2:56 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed Feb 16, 2011 4:49 pm 
Offline

Joined: Tue Feb 15, 2011 7:23 pm
Posts: 5
Is there any way to deactivate the lighbox so my site template can use the one thats on all the other pages but I still want to use the Admiror back end and thumbnails and all? Right now when I click on an image, your lightbox pops up along with the sites lightbox. Or is there a way to disable the lightbox from my site on the page that I have yours?


Top
 Profile  
 
 Post subject: Disable loading of Admiror Gallery popup scripts
PostPosted: Wed Feb 16, 2011 4:49 pm 
Top  
 Post subject: Re: SexyLightbox
PostPosted: Wed Feb 16, 2011 6:24 pm 
Offline
Developer
Developer
User avatar

Joined: Tue Aug 17, 2010 2:38 pm
Posts: 445
Location: Novi Sad, Serbia
What are You using for lightbox on a website?

_________________
Admiror Design Studio


Top
 Profile  
 
 Post subject: Re: SexyLightbox
PostPosted: Wed Feb 16, 2011 6:55 pm 
Offline

Joined: Tue Feb 15, 2011 7:23 pm
Posts: 5
Im not sure. It was pre-installed with the joomla template I am using. The site uses the lightbox on its home page for a few images at the bottom. But here is the link for the gallery page and you can see what happens. Your gallery will appear on top of the sites lightbox so if you close yours out you will see another.

http://lindsaytosto.com/index.php?optio ... Itemid=193


Top
 Profile  
 
 Post subject: Re: SexyLightbox
PostPosted: Thu Feb 17, 2011 9:19 am 
Offline
Developer
Developer
User avatar

Joined: Tue Aug 17, 2010 2:38 pm
Posts: 445
Location: Novi Sad, Serbia
Edit file "plugins/content/AdmirorGallery/templates/classic/index.php". This file is main file for AG template You are using.

Find line 41:
Code:
$html.= $AG->writePopupThumb($imageName);


Change it to:
Code:
$html.= '<a><img  src="'.$AG->sitePath.PLUGIN_BASE_PATH.'thumbs/'.$AG->imagesFolderName.'/'.$imageName.'" class="ag_imageThumb" /></a>';


This will create thumbs without link to large image and without popup opening.

_________________
Admiror Design Studio


Top
 Profile  
 
 Post subject: Re: SexyLightbox
PostPosted: Thu Feb 17, 2011 11:18 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Try with this template and let me know did it helped:
http://www.vasiljevski.com/forum/viewtopic.php?f=19&t=370&start=0

Install the template using Template section from within the component.

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
 Post subject: Re: SexyLightbox
PostPosted: Thu Feb 17, 2011 11:18 am 
Top  
 Post subject: Re: SexyLightbox
PostPosted: Thu Feb 17, 2011 10:01 pm 
Offline

Joined: Tue Feb 15, 2011 7:23 pm
Posts: 5
Changing the code on line 41 did get rid of the pop up but it also eliminated the sites lightbox/popup too so that doesnt work. And installing the new noPopup template didnt work either. Well it work for not having a pop up but it opened up the image in a new window. I still want the lightbox/popup feature to work but only one of them and not both at the same time.

Hummmmm.....


Top
 Profile  
 
 Post subject: Re: SexyLightbox
PostPosted: Thu Feb 17, 2011 10:38 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Well you can try to use the original classic template, and only delete the file "plugins\content\AdmirorGallery\popups\slimbox\js\slimbox2.js".

This should do the trick :) Let me know did it helped.

Sorry, but it's hard to give you the exact solution without the option to test it on you template :)

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
 Post subject: Re: SexyLightbox
PostPosted: Fri Feb 18, 2011 3:11 pm 
Offline

Joined: Tue Feb 15, 2011 7:23 pm
Posts: 5
That did it!! I really appreciate your help with this. Love the galleries you guys created.

Thank you very much!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group