how to change {ga} to {gallery}

Admiror Gallery is free extension for Joomla! based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
jscully
Posts: 3
Joined: Tue May 15, 2012 4:47 am

how to change {ga} to {gallery}

#1 Post by jscully »

I've replaced another gallery plugin with this one, and would love to flip a switch onto this new one.
Is there an easy way to change the php script somewhere so that this plugin works with {gallery}?

Admiror Gallery 5 - Fundraising Campaign

jscully
Posts: 3
Joined: Tue May 15, 2012 4:47 am

Re: how to change {ga} to {gallery}

#2 Post by jscully »

I feel like I'm talking to myself on my Facebook Wall, but....
In the AdmirorGallery.php file, I replaced {GA with {gallery and /GA} with /gallery}
and it seems to be working.
Also, de-activate any other gallery plugins, and you should be rocketin'

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

Re: how to change {ga} to {gallery}

#3 Post by Vasiljevski »

Well, yes, that is exactly the way to change it :)

But it's {AG} not {ga} :)

So to change trigger code you need to change it in two places in AdmirorGallery.php with the one you like, and that's all.

Maybe it would be good to make this changeable from parameters, what do you think?
Help Admiror Gallery become even better,
give us a review on JED

jscully
Posts: 3
Joined: Tue May 15, 2012 4:47 am

Re: how to change {ga} to {gallery}

#4 Post by jscully »

That would be a nice touch, especially for those in my position.
The plugin worked splendidly and easily (once I found) replaced the other erroneous plugin.

Post Reply