xyn Posted October 22, 2006 Share Posted October 22, 2006 HeyI wanetd to create a config like what PHPBB have, on their pagesthey have things like {ADMIN_LINKS} and whenthe page loads itoutputs the link to the admin panel for anyone within that rank.I tried to use define('NAME', 'OUTPUT'); and then {NAME} butthat doesn't seem to work :l Quote Link to comment https://forums.phpfreaks.com/topic/24740-problem-with-command/ Share on other sites More sharing options...
redbullmarky Posted October 22, 2006 Share Posted October 22, 2006 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.cheersMark Quote Link to comment https://forums.phpfreaks.com/topic/24740-problem-with-command/#findComment-112663 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.