View Single Post
  #4  
Old 05-11-2009, 09:01 PM
shnnnhickman Offline
forum loafer
 
Join Date: Jan 2009
Posts: 2
Question broswe by cat. new to old question

Hey Dkozikowski,
Fantastic Addon! It makes the browse page user friendly. I have one modification I made to it (for my on need). Because I'm using GeoS Show Category addon to limit the thumbnails on the image_template to one specific category.

I needed to add the category id into the a href tag of the thumbnails in your addon.

instead of line 130 reading:
Code:
<a href="'.$showprefix.$item['id'].'">
I changed it to:
Code:
<a href="'.$showprefix.$item['id'].'&category='.$categories['id'].'">
This way when the viewer returns to the image_template from the browse_template by clicking on a thumbnail the correct category link highlights and the thumbnails only include the images for that category. It works beautifully!

My one question is... since I have my thumbnails going from newest to oldest in the image_template, I'd like the thumbnails in the browse_template to do the same. How can I change the code to make that happen? Currently, they don't seem to be displaying in any certain order.

Cheers,
Sh
Reply With Quote