rjxj
08-13-2011, 09:44 PM
I have inserted additional code to my postbit_legacy template to show some additional information.
Here is the code that I am using.
<vb:if condition="$post['field6']"><dt>{vb:rawphrase make}</dt>
<dd>{vb:raw post.field6}</dd></vb:if>
<vb:if condition="$post['field15']"><dt>{vb:rawphrase year}</dt> <dd>{vb:raw post.field15}</dd></vb:if>
<vb:if condition="$post['field7']"><dt>{vb:rawphrase engine}</dt> <dd>{vb:raw post.field7}</dd></vb:if>
<vb:if condition="$post['field8']"><dt>{vb:rawphrase trans}<dd>{vb:raw post.field8}</dd></vb:if>
<vb:if condition="$post['field9']"><dt>{vb:rawphrase TC}<dd>{vb:raw post.field9}</dd></vb:if>
<vb:if condition="$post['field10']"><dt>{vb:rawphrase tires} <dd>{vb:raw post.field10}</dd></vb:if>
<vb:if condition="$post['field11']"><dt>{vb:rawphrase lift}<dd>{vb:raw post.field11}</dd></vb:if>
Also attached a pic...it seems that the code containing the year works fine, but the others do not....any ideas
https://vborg.vbsupport.ru/external/2011/08/35.jpg
--------------- Added 1313280486 at 1313280486 ---------------
So after a ton of reading I figured it out.
Each time the code <dt>{vb:rawphrase xxxx}</dt> is used, xxxx has to be defined as a phase.
xxxx can be any text you want, it appears however that it IS case sensitive.
To do this is simple, there is a phrase manager in the admincp.....add new phrase....etc.
Here is the code that I am using.
<vb:if condition="$post['field6']"><dt>{vb:rawphrase make}</dt>
<dd>{vb:raw post.field6}</dd></vb:if>
<vb:if condition="$post['field15']"><dt>{vb:rawphrase year}</dt> <dd>{vb:raw post.field15}</dd></vb:if>
<vb:if condition="$post['field7']"><dt>{vb:rawphrase engine}</dt> <dd>{vb:raw post.field7}</dd></vb:if>
<vb:if condition="$post['field8']"><dt>{vb:rawphrase trans}<dd>{vb:raw post.field8}</dd></vb:if>
<vb:if condition="$post['field9']"><dt>{vb:rawphrase TC}<dd>{vb:raw post.field9}</dd></vb:if>
<vb:if condition="$post['field10']"><dt>{vb:rawphrase tires} <dd>{vb:raw post.field10}</dd></vb:if>
<vb:if condition="$post['field11']"><dt>{vb:rawphrase lift}<dd>{vb:raw post.field11}</dd></vb:if>
Also attached a pic...it seems that the code containing the year works fine, but the others do not....any ideas
https://vborg.vbsupport.ru/external/2011/08/35.jpg
--------------- Added 1313280486 at 1313280486 ---------------
So after a ton of reading I figured it out.
Each time the code <dt>{vb:rawphrase xxxx}</dt> is used, xxxx has to be defined as a phase.
xxxx can be any text you want, it appears however that it IS case sensitive.
To do this is simple, there is a phrase manager in the admincp.....add new phrase....etc.