Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: theme template question  (Read 3222 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 3
theme template question
« 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.



  • Guest
Re: theme template question
« Reply #1 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.


  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From
    • Donovan Bray
Re: theme template question
« Reply #2 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.
Pages: [1]   Go Up

Page created in 0.029 seconds with 19 queries.