I've taken the Advanced Next addon and implemented the changes mentioned in the comments. I've also tweaked it so that when you get to the first image in the category and click on the image, it takes you to the last image, so they cycle round. Similar with the previous and next buttons.
I've added three new tags:
<CURRENT_CATEGORY> - returns the name of the category being browsed, or 'All pictures'<TOTAL_IN_CATEGORY> - returns the total number of pictures in the currently selected category<CURRENT_POSITION> - tells us which picture we're looking at in the current category
So for example my image page says:
Browsing: Landscapes Image: 3 of 15
A small modification is needed to functions_browse.php (in the includes folder) for the addon to work. If you've modified functions_browse before and don't want to overwrite the whole file, search the new file for:
// modification for advanced_next addon
and make the changes described there.
Note that you don't need the original advanced next addon for this one to work, in effect this one supercedes the original addon.
hi jim how did you resolve the conflict with page by page addon?? thnx
This is a good Addon. However, there is still a flaw in it that I am having serious trouble fixing.
It is now possible to stay with the same category when clicking the Next and Previous buttons, but the viewer still drops out of the category and returns to the normal stream when he simply clicks the picture to go to the next picture in the category.
Does anybody know how to disable advancing by clicking on a picture or does anybody have another suggestion how one can simply advance through a category by clicking on the picture?
Apart from this, it's a good Addon and one PixelPost should include with any new release!
With kind regards, DrCaffeine
I finally got this to work...fantastic!
What I finally had to do was find a template that this worked with..it was the "lightwhitetwo" template. I copy & pasted a part at a time into my template, until I found the parts that worked. It was tedious but not too difficult.
I also had to change a line in my "browse_template.html" file. It was conflicting with another addon..."The Page-By-Page-Archive for category and month".
It took awhile to find all this, but it's worth it to me.
Thanks for the explanations below and for this wonderful addon.