Hi guys, i have recently downloaded the superfish module for my site and am looking to implement it straight away, i first removed my regular main menu and now i want to place my superfish one in, the problem i am having is, i want to place it in a block that exist in adaptive themes, but my default theme is garland and i don't want to change it, is there a way i can use this block in the garland theme, or any method that makes the menu appear in that area of the page.

Thanks!

Comments

danny englander’s picture

If you are set on Garland, I would recommend making a sub-theme (you should do this anyway when working with a core theme). Then you can add a new block region where you want the menu. See Creating a sub-theme for more info.

For adding a block, your basic code would be something like this in your sub-theme's page.tpl.php:

<?php if ($my_menu): ?>
<?php print $my_menu; ?>
<?php endif; ?>

Then in your info file:
regions[my_menu] = My Menu

Be sure to clear cache, then you can place a superfish block in this region. For more info see: http://drupal.org/documentation/modules/block