4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: lapinkulta on June 23, 2005, 06:17:22 PM

Title: difference random_image / random_cat_image
Post by: lapinkulta on June 23, 2005, 06:17:22 PM
Hi!

What is the difference between random_image.htm and random_cat_image.htm in the templates folder and how can I choose which of them i use?

Cheers,
lapinkulta
Title: Re: difference random_image / random_cat_image
Post by: V@no on June 24, 2005, 01:06:23 AM
random_cat_image.html used only inside categiries.html template (well, maybe in details.html too), its identical to random_image.html, but will display random image only from a curent category.
random_image.html on other hand will display image taken from any categories.
Title: Re: difference random_image / random_cat_image
Post by: lapinkulta on June 24, 2005, 01:27:57 PM
thanks, somehow i don't get the random_cat_image to work in my own templates.

anyway, i found a method here how to exclude certain categories to be displayed in the random_cat_image view. Is there also a way to exclude certain categories to be displayed in the "normal" random_image view?

cheers,
lapinkulta