View Single Post
  #8  
Old 03-12-2006, 03:14 AM
RobbieMc Offline
pp veteran
 
Join Date: Feb 2006
Location: Canada
Posts: 78
Thanks, GeoS, for the CAT_ID tag. This is damn near perfect now. I have, however, a few more observations about integration:

1) Thanks for the tip on using <SC_...TXT>. That is fine on the navigation bar, but what about the image link itself? I use <a href="index.php?showimage=<SC_IMAGE_PREVIOUS_ID>&a mp;category=<SC_CAT_ID>" which passes the catgeory to the next image, but does seem to have one small glitch. When you arrive at the first image in that category, it returns a empty ID, which causes a "Not Found" error message. Would it be possible to have the _PREVIOUS_ID> and _NEXT_ID> tags return the same image id if there are no more in the category (like the <IMAGE_PREVIOUS_ID> appears to do.) or perhaps the most recent again?

2) As I said, this addon now has all the functionality to allow browsing within a category, but you still need to get the CAT_ID into the URL. This can be hardcoded I know, but I have two new requests :-) that would make this perfect:

a) A new <SC_THUMNAILS> tag that would pass both the Image id and the category ID to the image page when a thumbnail is clicked. If "ALL" is selected in catgeory, then the ID would be empty and the image page would act as a blog;

b) The second one may be a little more controversial (because it starts to move away from the blog format) but I could see a new <SC_BROWSE_CATEGORY> tag that would add a drop down menu to the image page that would pass an image ID and category ID to the URL to begin restricting browsing. This one might be trickier because you would have to change the image as well, and I suspect the best change would be to load the latest image in that category. I could certainly live without this feature but would be quite happy to have the SC_THUMBNAILS.

Thanks again for all the great work.
Reply With Quote