View Single Post
  #35  
Old July 1st, 2011, 09:39 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Quote:
Originally Posted by teeshirtdrama View Post
Hi
I followed the instructions above and all my datafeedr categories were added to my home page menu. Is there a way to make one menu option such as store and then make it so all the categories fall under this or drop down? It may be mentioned but just do not understand exactly how that can be done.
I haven't tested it but you could try replacing this:
HTML Code:
[category.list id='dfparent' before='' after='']
<li>
  <a href="[category.link]" title="[category.name]">[category.name]</a>
  [category.list id='dfchild' before='<ul>' after='</ul>']
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a>
      [category.repeat id='dfchild']
    </li>
  [/category.list]
</li>
[/category.list]
with this:
HTML Code:
<li>
  	<a href="/store">Store</a>
	[category.list id='dfparent' before='<ul>' after='</ul>']
	<li>
	  <a href="[category.link]" title="[category.name]">[category.name]</a>
	  [category.list id='dfchild' before='<ul>' after='</ul>']
		<li>
		  <a href="[category.link]" title="[category.name]">[category.name]</a>
		  [category.repeat id='dfchild']
		</li>
	  [/category.list]
	</li>
	[/category.list]
</li>