Please help Newbie, dropdown menus
Permalink
Hello,
I have just purchased the Superfish add-on and I am not a developer just trying to build my own small business website. I tried to add the Superfish menu by adding block button on subnav but as I feared it just put an additional menu under my current Roxio Ecommerce theme menu. Please can someone tell me how to add the drop-down function to my current menu; my website iswww.www.ElizabethsElectronicz.net... Please answer in laymans terms as I mentioned before I am not a developer. Thanks in advance and have a great night.
I have just purchased the Superfish add-on and I am not a developer just trying to build my own small business website. I tried to add the Superfish menu by adding block button on subnav but as I feared it just put an additional menu under my current Roxio Ecommerce theme menu. Please can someone tell me how to add the drop-down function to my current menu; my website iswww.www.ElizabethsElectronicz.net... Please answer in laymans terms as I mentioned before I am not a developer. Thanks in advance and have a great night.
That's correct behaviour. Superfish does not (and cannot) add any functionality to whatever there is already on your page, but it adds a menu (list of pages!) with interactive dropdown functionality. You have to remove the existing menu coming with your theme. If this existing menu is no editable block you now have to become a developer and remove it from the template in your theme.
Find the theme at /themes/yourtheme/
open default.php ore the *.php named like the pagetype you use
look if you find something looking like this:
espescially the first and the last line will be there.
comment out the last line (put a # in front of $bt-render(...))
now look what you get.
Find the theme at /themes/yourtheme/
open default.php ore the *.php named like the pagetype you use
look if you find something looking like this:
$bt = BlockType::getByHandle('autonav'); $bt->controller->displayPages = 'second_level'; $bt->controller->orderBy = 'display_asc'; $bt->controller->displaySubPages = 'relevant'; $bt->controller->displaySubPageLevels = 'enough_plus1'; $bt->render('templates/menu');
espescially the first and the last line will be there.
comment out the last line (put a # in front of $bt-render(...))
now look what you get.
http://www.concrete5.org/marketplace/themes/roxie-e-commerce/...
and click the "Support" link, and ask there.
FYI, in laymen's terms, I think the problem is that there's already a menu there, and if you add another one, it just adds another one below it -- what you want to do instead is replace the one that's there (or add yours and then remove the other one). Unfortunately I don't know how to tell you to replace it because it depends on how the theme is built, but if you go to that support link I'm sure he'll be able to help you out.
Good luck!