{ Var_name }

windows

Guest
Ok, so I'm embarassed. Usually I can figure things out, but this is new to me.<br />
<br />
I've been tearing apart PHPBB2 in order to integrate it into my own code. And I keep getting statements like this:<br />
<title>{SITENAME} :: {PAGE_TITLE}</title> <br />
<br />
What is going on here? It appears to be a way to write a variable. Where is this variable coming from? I'm not familiar with HTML variables in the code. Is this a ServerSide Include? <br />
<br />
Or is it just a marker telling me to: 'Put Content Here!'<br />
<br />
Thanks<!--content-->That's where you put the title of your page. It is what is displayed in the top of the browser window and in search engine results.<br />
<br />
KDLA<!--content-->phpBB has its own template processor built in that goes through the code like that and substitutes the values defined from the template. The page where that occurs is not PHP code until after it has gone through the preprocessor that applies the template substitutions. Just about the whole of phpBB is like that - the only actual code that is PHP to start with is the pre-processor.<!--content-->
 
Top