Embedding the superfish menu
Permalink
Hello,
I have bought the superfish menu and I can male it work by inserting it normally.
I don't want the client to be able to remove a menu thus I want to embedd it in my template. I have tried to put it in the scrapbook and then call it from the template inserting a php call.
unfortunately it displays the list but the formatting (yhe CSS I would guess?) is not passed down and it is very messy.
Anyone would know why?
Thanks
I have bought the superfish menu and I can male it work by inserting it normally.
I don't want the client to be able to remove a menu thus I want to embedd it in my template. I have tried to put it in the scrapbook and then call it from the template inserting a php call.
unfortunately it displays the list but the formatting (yhe CSS I would guess?) is not passed down and it is very messy.
Anyone would know why?
Thanks
hi adrian, the easiest way to do this would be to insert superfish normally, and then use advanced permissions to disable client control of the menu. you can enable advanced permissions by adding to config/site.php, and then just click on the block and then click on permisssions in the popup menu.
Does this mean that I need to add the menu manually for each page?
No. Go to dahboard/pagesthemes/page types, select he page type you want and select defaults, add the menu and permissions and new pages will automatically have the menu. You could also use the scrapbook to copy and paste if you want it for already made pages
Make sense now!
Thank you for the answer, I will try later and let you know the outcome.
Thank you for the answer, I will try later and let you know the outcome.
okay, if it works could you mark this as solved? that way the community will know you don't need any more help.