Abhik
02-10-2012, 04:02 PM
Amm..
What is the template conditional tag to load something only on custom template.
For example,
<vb:if condition="$template==mytemplate>
<ul class="myclass">
......
</ul>
</vb:else>
<ul class="defaultclass">
......
</ul>
</vb:if>What's that condition, please?
is this plugin code correct?
if condition ($template==mytemplate){
mycode
} else {
othercode
}
What is the template conditional tag to load something only on custom template.
For example,
<vb:if condition="$template==mytemplate>
<ul class="myclass">
......
</ul>
</vb:else>
<ul class="defaultclass">
......
</ul>
</vb:if>What's that condition, please?
is this plugin code correct?
if condition ($template==mytemplate){
mycode
} else {
othercode
}