I have a caresheet section that rests outside of vbulletin. It is integrated with vbulletin completely. I would like to be able to assign both keywords and a description within my caresheet.php files that are then used in place of the default vbulletin keywords and description I assigned for my website. I know I can use an if condition as described below to tell it when to use my keywords and description (tested - works) but I am trying to use a variable to assign the words themselves.
Code:
<vb:if condition="THIS_SCRIPT == 'careindex1' OR THIS_SCRIPT == 'careindex2'">
<meta name="keywords" content="{vb:raw mycarekeywords}" />
<meta name="description" content="{vb:raw mycaredescription}" />
</vb:if>
I would like to be able to set both the mycarekeywords and mycaredescription within the php file for each caresheet and have it used as the output but I am not succeeding and I think it is easier than what I have been trying. Any help would be appreciated. Thanks.