|
#101
|
||||
|
||||
|
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. |
|
#102
|
||||
|
||||
|
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. |
|
#103
|
||||
|
||||
|
Thank you for the quick answer. But where do I need to modify this line, in the index.php?
|
|
#106
|
|||
|
|||
|
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.” |
|
#108
|
|||
|
|||
|
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 |
|
#109
|
||||
|
||||
|
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!! |
|
#110
|
|||
|
|||
|
Edit: I think I got it working
|
| Post Reply |
| Thread Tools | |
|
|