Menu error empty string Posted by Rob Bryn 21 Mar 2007 03:26 UTC Hi, I am adapting the kubrick theme and get the message: LayersMenu Error: setMenuStructureString: empty string. Any help would be appreciated. Rob
Posted by Rick Sapir / Tiki for Smarties 21 Mar 2007 11:13 UTC Are you using menu 43? See the docs for details on using the Php Layers menu. HTH, -Rick > Hi, > > I am adapting the kubrick theme and get the message: LayersMenu Error: setMenuStructureString: empty string. > > Any help would be appreciated. > > Rob
Posted by Rob Bryn 21 Mar 2007 19:00 UTC Hi Rick and thanks for the reply, Both templates (tiki and error) were configured thus: {phplayers id=43 type=horiz} But, I wonder whether it is something as simple as no menu present (duh). I had assumed a standard menu would appear horizontally (Home, contact and wiki), but now I think that maybe I have to create a menu, right? Another Newbie climbs the learning curve! Rob > Are you using menu 43? See the docs for details on using the Php Layers menu. > > HTH, > > -Rick > > > Hi, > > > > I am adapting the kubrick theme and get the message: LayersMenu Error: setMenuStructureString: empty string. > > > > Any help would be appreciated. > > > > Rob
Posted by Gary Cunningham-Lee 22 Mar 2007 01:28 UTC > Hi Rick and thanks for the reply, > > Both templates (tiki and error) were configured thus: {phplayers id=43 type=horiz} > > But, I wonder whether it is something as simple as no menu present (duh). I had assumed a standard menu would appear horizontally (Home, contact and wiki), but now I think that maybe I have to create a menu, right? The only menu available by default in a fresh Tiki install has too many items for a horizontal menu, especially in a theme with side margins like Kubrick. This is why the menu id isn't used. > Another Newbie climbs the learning curve! At least now when the menu doesn't exist yet there is just an error message. When the theme was first released, if the menu hadn't been created already, the error would stop every page from displaying. Nasty 😧. Step by step, things are getting smoother. 😊 -- Gary
Posted by Rob Bryn 22 Mar 2007 02:33 UTC > > Hi Rick and thanks for the reply, > > > > Both templates (tiki and error) were configured thus: {phplayers id=43 type=horiz} > > > > But, I wonder whether it is something as simple as no menu present (duh). I had assumed a standard menu would appear horizontally (Home, contact and wiki), but now I think that maybe I have to create a menu, right? > > The only menu available by default in a fresh Tiki install has too many items for a horizontal menu, especially in a theme with side margins like Kubrick. This is why the menu id isn't used. > > > Another Newbie climbs the learning curve! > > At least now when the menu doesn't exist yet there is just an error message. When the theme was first released, if the menu hadn't been created already, the error would stop every page from displaying. Nasty 😧. Step by step, things are getting smoother. 😊 > > — Gary Oh, this is good! Now I just have to figure out how to create a menu. I didn't see a template for menus. Do I just create one, and if so, where could I go to have a look at the code for an example? Still climbing .... Rob
Posted by Gary Cunningham-Lee 22 Mar 2007 04:39 UTC > Now I just have to figure out how to create a menu. I didn't see a template for menus. Do I just create one, and if so, where could I go to have a look at the code for an example? Yes, you can create one on the Admin Menus page (tiki-admin_menus.php). See the docs for details. -- Gary
Posted by Rob Bryn 22 Mar 2007 15:52 UTC > > Now I just have to figure out how to create a menu. I didn't see a template for menus. Do I just create one, and if so, where could I go to have a look at the code for an example? > > Yes, you can create one on the Admin Menus page (tiki-admin_menus.php). See the docs for details. > > — Gary Thank you Gary. I am working my way through this and am making some headway. Your help was GREATLY appreciated! Rob
Posted by Rob Bryn 22 Mar 2007 21:15 UTC > > > Now I just have to figure out how to create a menu. I didn't see a template for menus. Do I just create one, and if so, where could I go to have a look at the code for an example? > > > > Yes, you can create one on the Admin Menus page (tiki-admin_menus.php). See the docs for details. > > > > — Gary > > Thank you Gary. I am working my way through this and am making some headway. Your help was GREATLY appreciated! > Rob Ok, the menu now appears but only while logged in as admin. When I logout I get the same error message: "LayersMenu Error: setMenuStructureString: empty string." Is there a different tpl for logged in/out ??? Rob
Posted by Gary Cunningham-Lee 23 Mar 2007 01:10 UTC > Ok, the menu now appears but only while logged in as admin. When I logout I get the same error message: "LayersMenu Error: setMenuStructureString: empty string." > > Is there a different tpl for logged in/out ??? No, the template is the same. This is probably a local browser issue. Try clearing your browser caches and deleting cookies for the domain of your Tiki. You could check with another browser to verify that other anonymous users are getting the menu. -- Gary
Posted by Rob Bryn 23 Mar 2007 02:01 UTC > > Ok, the menu now appears but only while logged in as admin. When I logout I get the same error message: "LayersMenu Error: setMenuStructureString: empty string." > > > > Is there a different tpl for logged in/out ??? > > No, the template is the same. This is probably a local browser issue. Try clearing your browser caches and deleting cookies for the domain of your Tiki. You could check with another browser to verify that other anonymous users are getting the menu. > > — Gary Yeah, I thought about that and tried Netscape, IE7 and Firefox. They all bring up the menu in admin, but I get the menu error when using the anonymous login. Rob
Posted by Rob Bryn 23 Mar 2007 04:03 UTC > > > Ok, the menu now appears but only while logged in as admin. When I logout I get the same error message: "LayersMenu Error: setMenuStructureString: empty string." > > > > > > Is there a different tpl for logged in/out ??? > > > > No, the template is the same. This is probably a local browser issue. Try clearing your browser caches and deleting cookies for the domain of your Tiki. You could check with another browser to verify that other anonymous users are getting the menu. > > > > — Gary > > Yeah, I thought about that and tried Netscape, IE7 and Firefox. They all bring up the menu in admin, but I get the menu error when using the anonymous login. > > Rob Aaaaaaarrrrrrrgh! "Anonymous" NOT "annonymous" OR "anonymous" Ooooooph! Rob