I have a View that has a filter which allows users to select nodes that contain specific taxonomy terms.
I would like to display this as a HTML list of links (<ul>
). How can I do this?
Steps I have tried
1. Using Better Exposed filters
This displays a filter as links. But the links are displayed wrapped in <Div>
tags instead of a UL
tag.
2. Using Views template
Using views-exposed-form.tpl.php
lets you access the exposed form, but it doesn't let you access the actual widget the makes up the filter.
3. Using Custom Code
This page says you can turn a select list into links via a custom module. But it requires Javascript to make the links work, which seems bad practise to me