/    Sign up×
Community /Pin to ProfileBookmark

Ok, so I’m embarassed. Usually I can figure things out, but this is new to me.

I’ve been tearing apart PHPBB2 in order to integrate it into my own code. And I keep getting statements like this:

[CODE]<title>{SITENAME} :: {PAGE_TITLE}</title>[/CODE]

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?

Or is it just a marker telling me to: ‘Put Content Here!’

Thanks

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@KDLAApr 17.2006 — 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.

KDLA
Copy linkTweet thisAlerts:
@felgallApr 17.2006 — 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.
×

Success!

Help @jeditdog spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...