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

Album boundary crossed
http://www.vasiljevski.com/forum/viewtopic.php?f=9&t=951
Page 1 of 1

Author:  mportner [ Fri Jun 28, 2013 1:05 pm ]
Post subject:  Album boundary crossed

Hi! I love your product and so do my customers.

One thing that just happened is this:

I created two articles in the same Joomla category. Each has a separate subfolder for the AG photos. I display them as a category blog.

The problem is that when I view the photos as an album using AG, the album progression crosses into the photos of the next article after I reach the end of the first article. Seems like it crosses article boundaries.

to see what I mean:

<using Firefox 22>

navigate to: www.lostlakeradio.com
click Gone Fishin' in the left column menu
scroll to article '2013 Carp Reduction Redux'. you will see that there are only three photos in the gallery (3 thumbnails)
click on the left-most photo to start the album viewing
advance through the photos using the '>' token.

You will find that you will be able to advance photo three into the first photo of the next article, 2103 Kids Fishing derby

Am I misunderstanding the concept of album?

Author:  Vasiljevski [ Mon Jul 01, 2013 11:34 am ]
Post subject:  Re: Album boundary crossed

No you are doing everything right. :)

On blog layout article doesn't provide article ID when rendering article preview. Earlier we used ArticleID to separate gallery from one another, but now we don't have any unique value we can use to do the same thing.

So this is a bug in AdmirorGallery, you can see in : plugins\content\admirorgallery\admirorgallery.php
on line 66:
Code:
//$AG->articleID = $row->id;
$AG->articleID = 1;

I just tried and it looks like that this was fixed in Joomla :) So you can fix this by commenting out : $AG->articleID = 1; and uncomment the line above: $AG->articleID = $row->id;
This should fix this issue.

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