|
#11
|
|||
|
|||
|
nice!
this was where i was waiting for, but.. one thing doesn't work: if i put this in my html: <SC_CAT_NAME> it doesn't give me any output. ![]() does anyone have a solution? |
|
#12
|
|||
|
|||
|
It only provides output if there is a "&category=x" in the URL, so this tag is only useful when you have entered restricted browsing mode by some means. I imagine that ot would be possible to code the tag to display the cetgory of the current image, as opposed to what is in the URL, but that is beyond my capabilities.
|
|
#13
|
|||
|
|||
|
Ah than it doesn't do wat i want
![]() do you know if it's possible to make it possible to select a catagorie on the frontpage? here's my example (not in the final design) http://www.poezebeesten.nl it's about 3 cats, i want to be able to view the front page for only one of the cats. could that be possible? thx, Harold |
|
#14
|
||||
|
||||
|
At weekend there will be quite important update.
Till it please write here all your suggestions about this addon - Ill try take a look on them and maybe put into this (weekends) release. |
|
#15
|
|||
|
|||
|
Quote:
/*****************/ /* CODE of ADDON */ /*****************/ if (!isset($_GET['showimage']) && !is_numeric($_GET['showimage']) && !isset($_GET["category"])) { if(!isset($_GET["category"])) $_GET["category"] = 2; } remember to change your category id. by now, the first image will be the latest image of all images, the second starts to perform the category you want. It's only a substitute. I think GeoS will give us a suprise soon.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar |
|
#16
|
|||
|
|||
|
Quote:
Well, in short: i want a button to view only one category at a time (or all) I'll put a menu in my site to show what i exactly want ![]() but that, later tonight. jdleung: looks nice, but i guess i'll wait for the update first. thx! |
|
#17
|
|||
|
|||
|
hs-l, if you only have three categories (one for each cat) and don't intend to change them often, then you could hard code three buttons on the template with URLs that include the category ID (i.e, ...index.php?category=1, etc. and a fourth button that resets the URL to not have a category.
You can also use the category drop down tag (<SC_BROWSE_CATEGORIES>)that GeoS developed to be able to limit your browsing. But as you say, I expect that GeoS update will make all of this even easier. GeoS, two things come to my mind for suggestions, the first of which I mentioned earlier so you may already have it covered: 1) a <SC_THUMBNAILS> replacement for the browse_template that passes the category ID selected in the browse template to the image_template; 2) I have put the <SC_BROWSE_CATEGORY> on my main page, but I wanted also to tell viewers that they were in fact browsing a limited set. I have currently hard coded in the template beside the drop down: "You are currently browsing <SC_CAT_NAME>.", which works fine when one has actually selected a category. When no category is selected, since <SC_CAT_NAME> is blank, my sentence remains unfinished. Code in the tag that results in "all images" or "All" or "all categories" when no category is selected would be nice. That is all I can think of right now. Thanks again. Rob Last edited by RobbieMc; 03-17-2006 at 07:56 PM. |
|
#18
|
|||
|
|||
|
Quote:
|
|
#19
|
|||
|
|||
|
Two thoughts: I misquoted the tag name above: it is <SC_BROWSE_CATEGORY>, not categorIES;
Also, I suspect it must be on the image_template to work properly, and you have to change the "next" and "previous" buttons for them to pass the category to the next image. Beyond that, I don't have access to my code right out to confirm. Good luck. |
|
#20
|
|||
|
|||
|
Quote:
2.don't forget to insert a form tag in image_template.html : <form><SC_BROWSE_CATEGORY></form> have fun.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar |
| Post Reply |
| Thread Tools | |
|
|