Jump to content

Problem with {Command}


xyn

Recommended Posts

Hey
I wanetd to create a config like what PHPBB have, on their pages
they have things like {ADMIN_LINKS} and whenthe page loads it
outputs the link to the admin panel for anyone within that rank.

I tried to use define('NAME', 'OUTPUT'); and then {NAME} but
that doesn't seem to work :l
Link to comment
https://forums.phpfreaks.com/topic/24740-problem-with-command/
Share on other sites

the tags you're referring to are 'template' tags or 'tokens' - these arent official syntax (HTML or PHP), but a custom syntax which are parsed at a later stage by the template engine. a common engine that uses these types of tags is [url=http://smarty.php.net/]Smarty[/url] - once it's populated the data/page that's gonna be displayed, it loads the template, looks for certain tags and replaces them with HTML.

cheers
Mark
Link to comment
https://forums.phpfreaks.com/topic/24740-problem-with-command/#findComment-112663
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.