Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Replacing Template tokens with hard code  (Read 2373 times)

0 Members and 1 Guest are viewing this topic.

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217
[Solved]: Replacing Template tokens with hard code
« on: March 21, 2008, 03:58:15 pm »

In a custom theme, is it OK to replace template.html tokens like {GAL_NAME} and {GAL_DESCRIPTION} with hard-coded entries, or does this mess things up elsewhere in the cpg script? It's a lot easy for me when developing a theme to edit template.html and view the effect rather than having to work through Admin Config.

Steve
« Last Edit: March 21, 2008, 04:47:42 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Replacing Template tokens with hard code
« Reply #1 on: March 21, 2008, 04:00:46 pm »

That's fine. It doesn't affect anything else. Just be aware that the config options will not have any effect.
Logged

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217
[Solved]: Replacing Template tokens with hard code
« Reply #2 on: March 21, 2008, 04:37:01 pm »

Nibbler,

Thanks for the prompt reply - that makes my life a deal easier!

Steve
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.