PDA

View Full Version : Why doesn't this work


Shadow666
05-25-2010, 07:45 PM
This is in the template:

<phrase 1="$vboptions[bbtitle]">{vb:rawphrase test_x_area}</phrase>

This is the phrase:

<phrase name="test_x_area" ><![CDATA[{1} Test Area]]></phrase>

This is what is been displayed:

%1$s Test Area

Lynne
05-25-2010, 09:42 PM
The syntax for a phrase is totally different in vB4. Have you tried a search in the templates to see what it is like now? example:

old: <phrase 1="$vboptions[bbtitle]">{vb:rawphrase test_x_area}</phrase>

new: {vb:rawphrase test_x_area, {vb:raw vboptions.bbtitle}}

Shadow666
05-25-2010, 09:46 PM
Lynne, thanks for that.

Works great now.