View Single Post
Old January 9th, 2011, 09:36 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902

  1. Create a new Custom View named "Unordered Category List". Check the 'don't use layout' checkbox.
  2. Add a Category List module to the module area.
  3. Add the following code to the Category List module:
    [category.list id='dfparent' before='<ul id="nav">' after='</ul>']
      <a href="[]" title="[]">[]</a>
      [category.list id='dfchild' before='<ul>' after='</ul>']
          <a href="[]" title="[]">[]</a>
          [category.repeat id='dfchild']
  4. Update your store
  5. Place the following code where you need your unordered list of categories to appear:
    PHP Code:
    str_replace(array("<div>","</div>"), array("",""), datafeedr_tag("Unordered Category List"));