It is currently Mon Dec 11, 2017 9:46 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed May 23, 2012 8:09 am 
Offline

Joined: Wed May 23, 2012 7:52 am
Posts: 4
Hi,
I am loving this gallery! Although I am having an issue that needs fixing.
I have installed Admiror Gallery 4 in Joomla 2.5.4 here http://websitefx.info/index.php/compone ... ge-gallery and I am having a double gallery display on the page. I'm not sure what to do, so any help would be much appreciated :D

Thanks,
Nikki


Top
 Profile  
 
 Post subject: Double Gallery showing in J2.5
PostPosted: Wed May 23, 2012 8:09 am 
Top  
PostPosted: Wed May 23, 2012 9:31 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Link you provided is broken :(

But by the title, I guess your problems is similar to this topic :http://www.vasiljevski.com/forum/viewtopic.php?f=22&t=592

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


Top
 Profile  
 
PostPosted: Wed May 23, 2012 11:09 am 
Offline

Joined: Wed May 23, 2012 7:52 am
Posts: 4
Thankyou very much for your prompt reply :D

Sorry, the servers were being upgraded - bad timing :cry: The link should work fine now, I just checked.
I have had a look at the link you supplied, how do I know if that is the issue in this instance?

Cheers,
Nikki


Top
 Profile  
 
PostPosted: Wed May 23, 2012 11:21 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Well it seams it is not the same issue as on the link I added :)

Sorry, site was down and I supposed from the title that it is similar problem.

Well the solution would be to disable "arisexylightboxlite" plugin that makes images open two times.
Admiror Gallery already uses it's own popup script for images, and "arisexylightboxlite" interferes with it. Default is slimbox, but you can change it from plugin settings.
Basic installation comes with 3 popups to chose from, but you can add more.

If you really want to use "arisexylightboxlite" you can make a popup and add it to Admiror Gallery :)

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


Top
 Profile  
 
PostPosted: Wed May 23, 2012 11:45 am 
Offline

Joined: Wed May 23, 2012 7:52 am
Posts: 4
Thanks heaps Vasiljevski!
That worked a treat 8-)
I love this plugin!

I have never made a popup before, so wouldn't mind learning how to... So I just looked up the JED... Do I use something like Modalizer?
... You don't have to help me if you don't want - but it will be a bonus if you do ;)


Top
 Profile  
 
 Post subject: Re: Double Gallery showing in J2.5
PostPosted: Wed May 23, 2012 11:45 am 
Top  
PostPosted: Sun May 27, 2012 12:57 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
No, you don't actually have to make the whole popup, that is one of the great things about Admiror Gallery that is not used as much.

You just need to find some JS popup code and wrap it in a Admiror Gallery popup plugin.

The easiest way is to check how the "slimbox" is added to Admiror Gallery, and build on that.

There is a API description here in manuals section : http://www.admiror-design-studio.com/en ... extensions

Basically, every script uses some kind of method to hook on images, link, or something else on the page.
Depending on what is required for the script to run properly you need to add that in your code.
If we take slimbox as an example (index.php in slimbox folder), for it to work we need to include some files :
Code:
// Load JavaScript from current popup folder
$this->loadJS($this->currPopupRoot.'js/slimbox2.js');

// Load CSS from current popup folder
$this->loadCSS($this->currPopupRoot.'css/slimbox2.css');


Admiror Gallery provides loadJS() and loadCSS() functions(API documentation lists all functions available) for adding JS files and CSS files to the document head.

Now, for slimbox to bind to an image, the image has to have specific "rel" tag, so we add it in the next line:
Code:
// Set REL attribute needed for Popup engine
$this->popupEngine->rel = 'lightbox[AdmirorGallery'.$this->getGalleryID().']';


You can see that in slimbox folder we have all the files necessary for slimbox to run properly, this came with slimbox package.
preview.jpg and details.xml are used for some basic information about the popup. But this is only if you want to share your popup with the community and details.xml enables you to make installable packages and share your work.

If you need more help let me know.

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


Top
 Profile  
 
PostPosted: Mon May 28, 2012 5:28 am 
Offline

Joined: Wed May 23, 2012 7:52 am
Posts: 4
Thankyou so much... You're a champ!
I'll give it a go- my fingers are crossed :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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