How to Get Clean Image Name

Everything to do with Templates and Templating for Admiror Gallery.
Message
Author
User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: How to Get Clean Image Name

#21 Post by Vasiljevski »

I have a little problem with zAccordion template :(

It work fine when it is inserted using button in the article, but when I add it as a menu item (layout) it gives me error:

Code: Select all

jQuery.easing[options.animatedProperties[this.prop]] is not a function
http://localhost/Joomla15/plugins/content/AdmirorGallery/templates/zaccordion/jquery-1.6.1.js
Line 8557
Have any idea why? :)

Great template, I must say. :) This is by far the best template anyone contributed to AdmirorGallery :)

UPDATE:
I tried adding extra parameters in the [ROOT]components\com_admirorgallery\views\layout\tmpl\default.xml because this defines parameters when adding layout menu item, but the error remains and no sliding occurs.
Fixed a warning on line 37:

Code: Select all

$html.=$AG->albumParentLink;
should be:

Code: Select all

$html=$AG->albumParentLink;
because that is the first time $html is assigned a value :)
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

buddyq
Maegashira
Maegashira
Posts: 21
Joined: Wed May 18, 2011 9:48 pm

Re: How to Get Clean Image Name

#22 Post by buddyq »

Silly me! I forgot that I could make a gallery through menu item.

So, I also need to include the params in there. I'll update instructions and fix that warning. More to come on the update of easing error once I get the params put in to test.

Buddy

buddyq
Maegashira
Maegashira
Posts: 21
Joined: Wed May 18, 2011 9:48 pm

Re: How to Get Clean Image Name

#23 Post by buddyq »

Hey so should $AG->getParameter work with menu item as well? Doesn't really seem to work, at least on all of them.

I don't get the error you get with the easing. But The styles dont look like they're kicking in. It doesn't look like it's picking up the selected ease type.

plusasst
Posts: 7
Joined: Sun Jun 12, 2011 12:34 pm

Re: How to Get Clean Image Name

#24 Post by plusasst »

so, is there an intermediate skills way of editting the index.php to clean up the filename and not show the extension .jpg?

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

Re: How to Get Clean Image Name

#25 Post by Vasiljevski »

Not a bad idea :)
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

Post Reply