For anyone trying to build a horizontal or vertical dropdown it’s pretty easy with Pages,
1) go grab Smartmenus
2) Hard code your top level pages manually and let Pages to the rest:
example code:
<ul id="Menu1" class="MM">
<li><a href="index.php/about">About</a>
{exp:static_page_path direction="post" page="x"}<a href="{url_title}">{title}</a>{/exp:static_page_path}
</li>
<li><a href="index.php/the_wines">The Wines</a>
{exp:static_page_path direction="post" page="xx"}<a href="{url_title}">{title}</a>{/exp:static_page_path}
</li>
<li><a href="index.php/vineyard_accommodation">Vineyard Accommodation</a></li>
<li><a href="index.php/contact_location">Contact / Location</a></li>
</ul>
x should be replaced by page id of About
xx should be replaced by the page id of The Wines
hope someone finds this useful.
Category:Tricks Category:Templates
