![]() |
Gallery Conditional.... Hi I am trying to get the random image module on my CMPS page not to show images from a certain gallery category, and I believe I can do this via a template conditional if I knew what the variable name was. Does anyone know what the syntax of this might be please..? EDIT: Sorry - I guess I should have posted this request in the actual Random Gallery Image thread... I will copy this to it... MODS can you delete this one please... thanks. |
Re: Gallery Conditional.... I'd be interesting in knowing this as well. If you figure it out, please let me know. |
Re: Gallery Conditional.... I posted in the module thread for this. ;) |
Re: Gallery Conditional.... Indeed Brian you did... just so this thread can be completed, this is what I did according to Brians instructions... In gallery_random.php find Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
Re: Gallery Conditional.... oh What if I dont want images from that catagory to show in new images? regards Hani |
Re: Gallery Conditional.... That's exactly what the code does. |
Re: Gallery Conditional.... oh good Thanx brian, again and again :) Hani |
Re: Gallery Conditional.... well it still shows in new images :( |
Re: Gallery Conditional.... OOPS I was talking about new images in gallery index page, not the CMPS page :? please help |
Re: Gallery Conditional.... Hiding certain categories from being shown on the Gallery index page is a different set of code. |
Re: Gallery Conditional.... I dont want to hide it, but dont want images from it to show on new/random images. My site is a photo site, and I have a cataory for lessons and tests, so people can post to it and copy the link on the forum to discuss it Showing test images on main index has no meaning, as sometimes you have same image with different setting, so I dont want to fill the index with these images regards Hani |
| All times are GMT -5. The time now is 08:19 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0