![]() |
adding conditional in headinclude
I would like my member profile pages to have customized meta keywords and descriptions with the following modified code:
Code:
<meta name="keywords" content="$userinfo[username],$vboptions[keywords]" /> The question I have is, what is the variable to use that will call the memberinfo template? (see below) Code:
<if condition="$show[????]"> thanks |
<if condition="THIS_SCRIPT == 'member'">
your stuff </if> |
thanks, but now it works partially for my desired result
Here is the added code in my headincludes template Code:
<if condition="THIS_SCRIPT=='member'"> But when I load the profile page of a member in my browser and view the HTML code, the username doesnt show up in the meta tags. Instead, I see something like this: Code:
<meta name="keywords" content=",keyword1,keyword2,keyword3" /> thanks |
All times are GMT. The time now is 05:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|