The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Using options in scripts within template
Ok for those who know me know im use to vb3, but I am working on something for vb4 and was wondering why my option wont print within a script in a template...
my code is as follows: (within a template) Code:
<vb:if condition="$vboptions[drc_img] == ''"> $('[id^="post_message_"] img').css('display','none'); <vb:else /> $('[id^="post_message_"] img').attr('src','$vboptions[drc_img]'); </vb:if> <vb:if condition="$vboptions[drc_notice]"> $('#notice').show(); </vb:if> also another instance of this is that last div I show in the code above. the div shows, but displays $vboptions[drc_notice] when it should be displaying the Text... Code:
<div id="notice">$vboptions[drc_notice]</div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|