Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #101  
Old 08-25-2006, 08:19 AM
posefius's Avatar
posefius Offline
pixelpost guru
 
Join Date: Mar 2005
Location: Netherlands
Posts: 100
Thats not what I mean. Now you can use the <SC_BROWSE_CATEGORY> in the image template to select a category and show all the pictures in this category directly in the image template. It would be nice if you can show a list of categories the image belongs to on the image template, and you offer the possibility to select one of this categories. The result is the first picture in this category in the image template. Take a look at my photoblog. You see for example this list of categories on the image template.

Categories: [People] [Rob van Kleef] [Shadows] [Ukraine]

Clicking one of those categories must not result in going to the browse archive but must show the first picture belonging to the selected category in the image template. I hope you understand what I mean.
Reply With Quote
  #102  
Old 08-25-2006, 06:53 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
There is such option. Just set links to cats like this:
http://your_site.com/?category=CAT_ID&showimage=

Then it referes to line 105 of addon and this line handles functionality about which you are writing.

PS Remember to set 1 for $img_exclude config variable.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #103  
Old 08-28-2006, 06:43 AM
posefius's Avatar
posefius Offline
pixelpost guru
 
Join Date: Mar 2005
Location: Netherlands
Posts: 100
Thank you for the quick answer. But where do I need to modify this line, in the index.php?
Reply With Quote
  #104  
Old 08-28-2006, 03:13 PM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
@posefius

line 105 in the addon... not index.php
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
  #105  
Old 08-30-2006, 12:07 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
@posefius:
./addons/geos_show_category.php @ line 46.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #106  
Old 08-30-2006, 07:56 PM
Marx Offline
forum loafer
 
Join Date: Aug 2006
Location: Belgium somewhere near Brugge
Posts: 7
I feel very stupid but I’m stuck..
Been reading this topic a few times now, and don’t get it where I have to put these ones.
What file do I have to adjust?

” To do so you need to add extra variable to standard URL - category=CAT_ID.
I.e. URL should look like http://piotrgalas.com/index.php?show...00&category=10 - this will give you possibility to watch only images from caterogy with ID = 10.”
Reply With Quote
  #107  
Old 08-30-2006, 08:41 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Tell us what you need and we will try to do so but remember to be more precise.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #108  
Old 08-30-2006, 09:40 PM
Marx Offline
forum loafer
 
Join Date: Aug 2006
Location: Belgium somewhere near Brugge
Posts: 7
I want a lot But first things first. When you enter the site. I want to stay locked in a cat when I choose a cat and click the pic or thumbs you go to the next cat. How can I prevent that?
my test site
Reply With Quote
  #109  
Old 08-31-2006, 06:19 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
You must come to Pixelpost installation with my addon with extra paramter at the beginning.

I.e. going from /index.html (with hardcoded link) to /index.php?showimage=&category=10 will do what you want - go and display from the beginning category with ID = 10.

Read description of TAGs at first!!
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #110  
Old 09-16-2006, 12:31 PM
boffers Offline
forum loafer
 
Join Date: Aug 2006
Posts: 18
Edit: I think I got it working
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 04:24 PM.

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