Removing Subgalleries from main gallery view..
I'm trying to keep image galleries that have parents from being displayed in the main gallery list using something like
in tiki-galleries.tpl line 149:
{if $galleries[changes].visible eq 'y' && $parentgallery eq -1}
but I get none of the galleries listing when I do that....
the alternative might be to do something like
if (!isset($_REQUEST["parentgallery"]){}
or
if (isset($_REQUEST["parentgallery"]) && $_REQUEST["parentgallery"] == -1){}
but I'm not sure when to check this condition...
does something like this have to be done in php or is it possible in a .tmp file? If so how?!
thank you,
OC