PDA

View Full Version : What is the new rule for vboptions?


Lionel
11-17-2009, 02:09 AM
I see

<vb:if condition="$vboptions[xxx]">

and

<a href="{vb:raw vboptions.tosurl}">

What is the difference between them and when do you use what?

Lynne
11-17-2009, 04:15 AM
Neither is correct for version 3.x

Lionel
11-17-2009, 05:02 AM
Hummm sorry, that was meant for the vb 4.0 forum. Although I was careful to look for it.

ForumsMods
11-18-2009, 01:11 AM
Both are correct.
$foo['bar'] must be used for conditions, and,
{vb:raw foo.bar} for the rest.

Lynne
11-18-2009, 01:40 AM
Moved to vB4 forums. (In the future, just hit the Report this Post button to ask the mods to move it.)

Adrian is correct in that each of the examples you gave is correct in vB4.