Admiror Gallery Code Insertion

Admiror Gallery 5.x.x for Joomla 3.x. support forum.
Post Reply
Message
Author
philadler
Komusubi
Komusubi
Posts: 25
Joined: Tue Dec 10, 2013 8:54 pm

Admiror Gallery Code Insertion

#1 Post by philadler »

Hello,

I have noticed that in admiror 5 the code is being inserted in a different way and some of the features are not working properly for example

Admiror 5 Code inserted using the button in an article:

Code: Select all

{AG rootFolder="/images/" thumbWidth="150" thumbHeight="120" newImageTag="0" newImageTag_days="7" paginUse="1" paginImagesPerGallery="12" albumUse="1" backgroundColor="#ffffff" foregroundColor="#808080" highliteColor="#fea804" frame_width="300" frame_height="400" showSignature="0" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" thumbAutoSize="height" template="classic_centered_nocaption" popupEngine="slimbox" arrange="name"}festival-year/2014/fun-run-photos{/AG}
Admiror 4 Code inserted using the button in an article:

Code: Select all

{AG rootFolder="/images/" thumbWidth="150" thumbHeight="120" thumbAutoSize="height" arrange="name" backgroundColor="ffffff" foregroundColor="808080" highliteColor="fea804" frame_width="400" frame_height="300" newImageTag="0" newImageTag_days="7" paginUse="1" paginImagesPerGallery="12" albumUse="1" showSignature="0" plainTextCaptions="0" ignoreError="1" ignoreAllError="0" template="classic_centered_nocaption" popupEngine="slimbox"}festival-year/2014/fun-run-photos{/AG}
While the code looks the same the order is very different. In fact using the code from admiror 5 will not let image outline change to the chosen color or sort by the name, priority etc correctly. If I move things around and place the code made by admiror 4 then the hover and the sorting work as intended.

So my question is do the commands need to be in a certain order for all the features to work correctly?

Thanks,

Phil

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Admiror Gallery Code Insertion

#2 Post by Vasiljevski »

In general order of parameters should not be a problem because we use key to access them (params["useAlbums"]), but if you say that changing the order fixes some issues than, order, probably is a problem :)
I need to check that, and let you know.

Thanks for reporting.
Help Admiror Gallery become even better,
give us a review on JED

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Admiror Gallery Code Insertion

#3 Post by Vasiljevski »

I checked with both codes you posted and I don't see the difference on the page.

Can you check if, maybe, you have caching turned on?
Help Admiror Gallery become even better,
give us a review on JED

philadler
Komusubi
Komusubi
Posts: 25
Joined: Tue Dec 10, 2013 8:54 pm

Re: Admiror Gallery Code Insertion

#4 Post by philadler »

caching is disabled. i will try again

philadler
Komusubi
Komusubi
Posts: 25
Joined: Tue Dec 10, 2013 8:54 pm

Re: Admiror Gallery Code Insertion

#5 Post by philadler »

OK this is what I have found out and it is very strange. Please visit this page to see what I am talking about http://new.olusteefestival.com/photos.

If I just use the Admiror 4 Code the Gallery works fine and the mouse over is working properly. See gallery http://new.olusteefestival.com/photos/2 ... run-photos.

If I just use the Admiror 5 Code the Gallery shows the pictures but none of the mouse over is working. See gallery http://new.olusteefestival.com/photos/2 ... n-photos-3.

Now for the strange part.

If I display both galleries on one page using the Admiror 4 Code for one gallery and the Admiror 5 Code for another gallery, both galleries mouse over work fine. See Gallery http://new.olusteefestival.com/photos/2 ... n-photos-2.

Any thoughts

Phil

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Admiror Gallery Code Insertion

#6 Post by Vasiljevski »

Hmm, I just noticed something that might be a cause of this. See that in version 5 code you have:

Code: Select all

backgroundColor="#ffffff" foregroundColor="#808080" highliteColor="#fea804"
and in version 4:

Code: Select all

backgroundColor="ffffff" foregroundColor="808080" highliteColor="fea804"
"#" is added in version 5. I think that might be the issue here.

As if you check the page output with version 5 code you can see that there is an empty definition for :

Code: Select all

.AG_classic_centered_nocaption .ag_imageThumb:hover {
}
but in version 4 you have:

Code: Select all

.AG_classic_centered_nocaption .ag_imageThumb:hover {
    background-color: #FEA804;
}
If this is the case it also makes sense why everything is OK when both codes are on one page, because version 4 code adds the correct definition that is picked up by both galleries.

All in all, can you try to remove "#" from version 5 code and check? And I should check why does version 5 creating the code with # :)
Help Admiror Gallery become even better,
give us a review on JED

philadler
Komusubi
Komusubi
Posts: 25
Joined: Tue Dec 10, 2013 8:54 pm

Re: Admiror Gallery Code Insertion

#7 Post by philadler »

You are correct taking the "#" out of all 3 of the color formats made the photos behave like Admiror 4. Thanks for all your help

Post Reply