[Solved]: Replacing Template tokens with hard code [Solved]: Replacing Template tokens with hard code
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Replacing Template tokens with hard code

Started by steveeh131047, March 21, 2008, 03:58:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

steveeh131047

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

Nibbler

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

steveeh131047

Nibbler,

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

Steve