First, apologies if this has been covered before. I have tried to search for topics but failed to turn up anything.
My question is this:
I am trying to create a menu tree that will be echo'ed throughout my site
EXAMPLE (http://www.belmaati.com/index2.php)
However, many functions in Coppermine depend on who is browsing the pages (eg. different content for site admin, individual members, non members etc)
In the past I have simply put links like {MY_GAL_TGT} in a menu tree that I had places in templates>default>theme.php and this works perfectly, presumably because the link calls a function that is placed in that php-file.
I am trying to put all the Coppermine functions into my menu tree and if I am calling for instance {MY_GAL_TGT} from a different directory than Coppermine (/gallery/) the link is obviously not correct.
So, is there any way to add a directory specification to the {MY_GAL_TGT} link?
A thousand thank yous in advance!!
Best,
Joe Belmaati
Copenhagen Dernmak
Joe, this is simply not the way coppermine themes work - like it or not. The stuff in curly braces are just placeholders that are being replaced when the output is being generated - you can't use php includes or other methods or "code insertion" and dynamically use the stuff within the curly braces.
I'm sorry, but I think you'll have to go for another option if you need closer integration.
GauGau
Thank you, Gaugau.