Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Addons (http://www.pixelpost.org/forum/forumdisplay.php?f=13)
-   -   Browse filtered by category and date (http://www.pixelpost.org/forum/showthread.php?t=7715)

project_FX28 01-16-2008 08:05 AM

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)?
http://img146.imageshack.us/img146/5...owseff8.th.jpg


Thx.

Dkozikowski 01-16-2008 02:17 PM

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.

Dkozikowski 01-16-2008 06:14 PM

All set, I used your photo for the screenshot, thanks.

Browse by Category

shnnnhickman 05-11-2009 09:01 PM

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

Firefly65 05-12-2009 03:42 AM

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 (Post 53496)
All set, I used your photo for the screenshot, thanks.

Browse by Category



All times are GMT. The time now is 01:49 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.