Hi,
I’m using the HTML Generic Tag Widget to produce a <UL><LI> list from selected Input Options within my TV. However as the page used to list child nodes presents more than one node (using Ditto) the ID tags assigned by the HTML Generic Tag Widget tags are flagged as errors due to duplicate IDs within the same document.
Is there a way to disable the HTML Generic Tag Widget from automatically assigning IDs to my selected input Options?
Regards,
Martin
any ideas?
-
☆ A M B ☆
- 24,524 Posts
Doesn’t look like it. An ID is hard-coded into the output widget. I would recommend creating your own TV handler snippet rather than hacking the core file to prevent it. Personally, I haven’t used the output widgets for years; they just aren’t flexible enough for my taste.
http://wiki.modxcms.com/index.php/Adding_TV_Widgets_without_hacking_the_core
thanks sottwell
i’ll have to investigate and have a play
you can try to use delimeted-list-output
delimiter:
in your template:
[*yourtv:isnot=``:then=`<ul><li>[*yourtv*]</li></ul>`*]