Templates
Scenario:
"I have a lot of categories so my category list is getting a bit long and is taking up too much space on my page. Therefore I would like the categories to be displayed in a drop-down menu."
Solution:
Edit the
template you are using to display your category list as follows:
Category list header:
<select onchange="document.location=this.value"><br />
<option value="">- choose category -</option><br />
<option value="<%blogurl%>">All</option>
Category list item:
<option value="<%catlink%>"><%catname%></option>
Category list footer:
</select>
Original forum thread (thanks, karma!):
http://nucleuscms.org/forum/viewtopic.php?t=677
section: Templates | submitted by
Leng on 2007.Mar.17 | 12574 views

Total votes: 2 - Rating: 10.00