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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.