It is currently Tue Dec 12, 2017 6:00 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Feb 11, 2013 4:16 am 
Offline

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


Top
 Profile  
 
 Post subject: Change link to gallery in article
PostPosted: Mon Feb 11, 2013 4:16 am 
Top  
PostPosted: Wed Feb 13, 2013 3:04 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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


Top
 Profile  
 
PostPosted: Tue Mar 05, 2013 2:31 am 
Offline

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


Top
 Profile  
 
PostPosted: Tue Mar 05, 2013 11:55 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group