I'm trying to understand where to make new sidebar menus, and one thing in particular confuses me: When I go to Structure > blocks, I see the Main Sidebar Menu is in the Disabled section. But this menu is on multiple pages of the site. Shouldn't the fact that it's marked as disabled prevent it from showing?
thanks!
Hello,
1. The Main Sidebar Menu is created by using this module https://www.drupal.org/project/menu_block. You can read an article about using and configuring it here: https://swsblog.stanford.edu/blog/menu-tricks-1-improve-site-navigation-...
2. When you edit a page such as ABOUT US. Hover your mouse on a blank part above the Contact Section. This is the Sidebar Menu. Because the javascript of this block is disable in Awecontent so this block does not appear. You can set the title for it.
Thanks!
Great, thanks for the links!
But if I make a new page using the Architecture Services template, the sidebar menu should be there, no?
It will be there if the page you create has the template of Architecture Service.
When I make a page using the Architecture Services template, there is no left sidebar. And when I go to edit the page, I see a long list of warnings:
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6008 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6046 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6541 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5998 of /home3/montreb2/public_html/d7/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 6053 of /home3/montreb2/public_html/d7/includes/common.inc).
You have to check your code in modules that you edited or created.
I didn't touch common.inc - the only include I edited was to add my custom css file, which looks like this:
// drupal_add_css();
drupal_add_css("{$path_theme}/css/front/style.css");
drupal_add_css("{$path_theme}/css/front/normalize.css");
drupal_add_css("{$path_theme}/css/front/slick.css");
drupal_add_css("{$path_theme}/css/front/main.css");
drupal_add_css("{$path_theme}/css/front/insmonk.css");
I also disabled the only module that I installed, which was Node Clone.
Please send me your Website account. Remember to backup database before giving me that info.
Thanks!
Ok, backing my db now, will msg you details when it's done
thank you
The problem is fixed. Thanks!
Great, thank you! Could you describe very briefly what the problem was?
If you want to place the Main Sidebar Menu into a page you should go to Structure -> Menu -> Main Menu. And adding a new menu item into the sub-menu of Company menu. Because the Main Sidebar Menu gets data from sub-menu of Company menu so you need to do that to avoid getting error messages. Please see the picture.
Thanks!
What do I do if I don't want the commercial insurance page to be a child of any page aside from home? Is this in the documentation?
Please remove that Main Sidebar Menu out of the page that you don't want it to be a child of any pages.
You didn't understand what I asked you.
I don't want the commercial insurance page to be a child of 'Company' and I want it to have a menu.
Please see the picture.
What I'm asking is simple. What I want is:
A sidebar menu
Page not in the company dropdown menu
Adding 10 exclamation doesn't help me understand "Please remove that Main Sidebar Menu out of the page that you don't want it to be a child of any pages." I'm trying to be patient here.
thanks
My answer is very clear. If you don't understand just figure out your method. That's all.
ok :]