Admiror Joomla! Community
http://www.vasiljevski.com/forum/

Change link to gallery in article
http://www.vasiljevski.com/forum/viewtopic.php?f=30&t=772
Page 1 of 1

Author:  bronia [ Mon Feb 11, 2013 4:16 am ]
Post subject:  Change link to gallery in article

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!

Author:  Vasiljevski [ Wed Feb 13, 2013 3:04 pm ]
Post subject:  Re: Change link to gallery in article

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.

Author:  bronia [ Tue Mar 05, 2013 2:31 am ]
Post subject:  Re: Change link to gallery in article

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.

Author:  Vasiljevski [ Tue Mar 05, 2013 11:55 pm ]
Post subject:  Re: Change link to gallery in article

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 :)

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/