Hi,
I read on another thread that TV’s could be used to generate unique classes (eg, Nav01, Nav02 etc) but am struggling to get it to work.
I know i can use [+pagetitle+] etc to generate the classes but i am curious as to how to get the TV method working.
I have created a TV [*rowClass*] and have added this to my rowTpl chunk like this...<a href="[+wf.link+]" class="[*rowClass*]" title="[+wf.title+]">
...but how in the TV do i add the Nav01, Nav02 etc?
Thanks for any help
J
www.9thwave.co.uk
WEB | DESIGN | PRINT
Give the TV the "Input Type" [tt]checkbox[/tt] and write the following into the textarea "Input Option Values" of the TV:
[tt]Nav01||Nav02||Nav03[/tt] (or more alternatives).
Hi,
Thanks for your quick reply.
I had already tried that but the class names are all being added as nav01.
My TV is as follows:
TV name: [*rowClass*]
Input Type: checkbox
Input option values: nav01||nav02||nav03||
the chunk is:
<li[+wf.classes+]><a href="[+wf.link+]" class="[*rowClass*]" title="[+wf.title+]"><span>[+wf.linktext+]</span></a></li>
I have checked the relevant page checkboxes.
Is there anything else i need to do to get this to work?
Thanks for your help
Janice
www.9thwave.co.uk
WEB | DESIGN | PRINT
Ok i got it...just my syntax that’s all.
I was calling [*rowClass*] instead of [+rowClass+]
Thanks for your help
j
www.9thwave.co.uk
WEB | DESIGN | PRINT