Using a customized superfish dropdown in an AutoNav block?
Permalink
Hi, this is my first post -
I'm wondering if it's relatively simple to customize the AutoNav block so I can have dropdown menus? I've looked into Superfish and I've been able to customize the superfish.css so it has the right styles... now I just want to be able to place it as a custom AutoNav block in a stack to be used throughout my site.
Is that a really round about way of doing this? From what I've seen it seems logical to customize the AutoNav block, put that in a stack, then call the stack in your template using this code:
If someone could help me out with the whole integrating Superfish into the AutoNav block that would be a huge help. Thanks!
I'm wondering if it's relatively simple to customize the AutoNav block so I can have dropdown menus? I've looked into Superfish and I've been able to customize the superfish.css so it has the right styles... now I just want to be able to place it as a custom AutoNav block in a stack to be used throughout my site.
Is that a really round about way of doing this? From what I've seen it seems logical to customize the AutoNav block, put that in a stack, then call the stack in your template using this code:
<div id="nav"> <?php $stack = Stack::getByName('Header Nav'); $ax = Area::get($stack, STACKS_AREA_NAME); $ax->display($stack); ?>
If someone could help me out with the whole integrating Superfish into the AutoNav block that would be a huge help. Thanks!