PDA

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


Lionel
17 Nov 2009, 03:09
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
17 Nov 2009, 05:15
Neither is correct for version 3.x

Lionel
17 Nov 2009, 06:02
Hummm sorry, that was meant for the vb 4.0 forum. Although I was careful to look for it.

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

Lynne
18 Nov 2009, 02:40
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.