View Single Post
Old April 28th, 2011, 12:23 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902

This works as a Widget View. Just create a new Widget here: The Factory > Your Store > VIEWS > WIDGETS > Add a new view

Then add a Category list module to your new view.

Then add the following code to your Text module.

HTML Code:
<script type="text/javascript">
	function redirectMe (sel) {
		var url = sel[sel.selectedIndex].value;
		window.location = url;

<select name="myselect" onchange="redirectMe(this);">
	<option value="#">Select a category</option>
	[category.list before='' after='']
    	<option value="[]">[]</option>