Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 01-16-2008, 08:05 AM
project_FX28 Offline
forum loafer
 
Join Date: Jan 2008
Posts: 1
Browse filtered by category and date

Can anyone help me create an addon which filters all the thumbnails in the Browse page by category and by date like in this image (for each category the pics should be ordered from the newest to the oldest)?



Thx.
Reply With Quote
  #2  
Old 01-16-2008, 02:17 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
Great idea.

I've got a mockup version but there will be nothing fancy at this point in time. I'm sure later on I'll add paged browsing by category or something similar but until then, what your screenshot shows is what you get.

I'll post a link once it's been uploaded to the extend section.
Reply With Quote
  #3  
Old 01-16-2008, 06:14 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
All set, I used your photo for the screenshot, thanks.

Browse by Category
Reply With Quote
  #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
  #5  
Old 05-12-2009, 03:42 AM
Firefly65's Avatar
Firefly65 Offline
forum loafer
 
Join Date: May 2009
Posts: 1
Question Help!

Hi. Can anyone help me out with this? I am using the Pixelfy template and I am not sure where I am supposed to put the tags for this. I know it says:

Use the following template tag within your template file.

* Template tag:
o <CATEGORY_BROWSE heading="(h1-h5)">
* Template tag attribute:
o heading="(h1-h5) is the HTML heading value h1- h5. heading="h1" produces: <h1>(Category Name)</h1>

I just don't know what this means. Sorry to sound so pathetic, but I need to know exactly what to put where in my template files. Thanks in advance.



Quote:
Originally Posted by Dkozikowski View Post
All set, I used your photo for the screenshot, thanks.

Browse by Category
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 06:44 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs