PDA

View Full Version : trying to insert username as a meta keyword in profile page


bongwater
10-23-2008, 07:43 PM
I am trying to insert the username as a meta keyword in profile page. I have inserted $userinfo where I want the username to be

example:

<meta name="keywords" content="[U]$userinfo[username], $vboptions[keywords]" />


But somehow that phrase alone isn't inserting the name. Anybody know the correct way to do this?

Dismounted
10-24-2008, 06:02 AM
Try:
$prepared[username]
Also, note that this information does not exist yet when headinclude is parsed, so don't put it there, but instead, in the actual profile template.