Advanced search  


CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: theme template question  (Read 3410 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.016 seconds with 19 queries.