forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: sdunnin on December 21, 2004, 08:10:22 am

Title: theme template question
Post by: sdunnin on December 21, 2004, 08:10:22 am
I was wondering if someone could explain to me in laymans terms how the placement of the placeholder items  (e.g {MAIN_MENU} ) in template.html affect whether or not the actual content from the php code gets displayed. I have created a custom version of  template.html and depending on where I place the placeholders in the html determines if the actual gallery content is displayed or just the literal string of the placeholder. I'm pretty certain that the way the php theme code is written impacts how these placeholder tags get processed. I can probably pour over the php and figure it out but was hoping that a coppermine expert could perhaps give me a pointer to get me in the right direction quicker.

Thanks!
Title: Re: theme template question
Post by: Nibbler on December 21, 2004, 10:18:28 pm
Placeholders positioned above/before {GALERY} are handled by the page header function, those below are handled by the page footer function.
Title: Re: theme template question
Post by: donnoman on December 23, 2004, 06:34:41 am
Read the sticky thread from Fking in this forum, thats the best overview I've seen posted.