Change link to gallery in article

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
bronia
Posts: 4
Joined: Tue Jan 31, 2012 2:55 am

Change link to gallery in article

#1 Post by bronia »

Hi guys!

I'm working on http://binczycka.pl/latina/ when you click on first news "Wielki sukces Daniela i Mai na turnieju w Czechach" you'll get a body of news with link to a gallery. When you click on 'Galeria' you're getting here http://binczycka.pl/latina/index.php?op ... =0&AG_MK=0 and i want to change the url to http://binczycka.pl/latina/galeria?AG_M ... =0&AG_MK=0

I need to change this part:
index.php?option=com_content&view=article&id=36&tmpl=component&

I've been looking in many files for code that generates this links and i have no clue where it is. Every help will be appreciated!

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: Change link to gallery in article

#2 Post by Vasiljevski »

I see that you already managed to change the link to be: http://binczycka.pl/latina/galeria?.. :)

You did a great job with embedding Admiror Gallery :)
I'm always presently surprised when someone customizes Admiror Gallery in such a nice way.
Help Admiror Gallery become even better,
give us a review on JED

bronia
Posts: 4
Joined: Tue Jan 31, 2012 2:55 am

Re: Change link to gallery in article

#3 Post by bronia »

Thank you for your kind words! The code is very clear so anyone can work with it.
I faced another problem - it seems that when you add pagebreak, the link to album in article is gone. Now i'm using scrollpane to avoid pagebreak so i'm just addressing an issue.
Another thing - is there a pagination for albums? I have now a lot of galleries http://presstu.nazwa.pl/latina2/galeria (change of server) i assume that i can clone the engine of pagination for single images and try to replace image with whole gallery.

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

Re: Change link to gallery in article

#4 Post by Vasiljevski »

Page break is tricky, particularly in case when AJAX is used to change pages.

Albums are added on the fly, so it is no a great solution but it works :) If you have some suggestion, your welcome to add a topin to Brainstorming subforum :)

As a consequence of the above, there is no pagination for albums, but yes you could use the same pagination code we use for images.
This is certainly one of the things we should consider adding in future releases.

If you manage to develop this, it would be great if you could share it :)
Help Admiror Gallery become even better,
give us a review on JED

Post Reply