Posted by Drupalnoob on September 18, 2012 at 4:24am
Trying to update website with school theme. I have the following code
<?php
$page['showNavbar'] = true;
$page['navbar'] = new Navigation(<<<EOHTML
<section>
<section path="/item-1/" title="Item 1" showchildren="true">
<section path="/item-1/sub-1/" title="Sub Item 1"/>
<section path="/item-1/sub-2/" title="Sub Item 2"/>
</section>
<section path="/item-2/" title="Item 2" showchildren="true">
<section path="/item-2/sub-1/" title="Sub Item 1"/>
<section path="/item-2/sub-2/" title="Sub Item 2"/>
</section>
</section>
EOHTML
);
?>From
http://www.sample.iastate.edu/examples/dropdown/
and I have no clue what to do with it.
I have drupal 7 installed on my test machine with the schools theme installed but not sure how to make a menu that looks like the example in the above link.
Thank you in advance,
Drupalnoob
Comments
You might be better off using
You might be better off using nice menus or a similar module which already integrate with Drupal.