I am using the Channel Categories Tag Category Dropdown code:
http://ellislab.com/expressionengine/user-guide/modules/channel/categories.html#dropdown
Once a user selects a category from the dropdown and is taken to that category page, the dropdown resets. I would like the dropdown to preselect the category the user is on.
This is my code:
<form name="catmenu" action="">
<select name="selcat"
>
<option value="">Location</option>
{exp:channel:categories channel="event" style="linear" category_group="1"}
<option value="{path='events'}">{category_name}</option>
{/exp:channel:categories}
</select>
</form>