Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
I'm under pressure here as this site is supposed to go live today. I upgraded from Blackrock to Cuba-Havana because in the admin section, the Tags and Events were throwing out errors.
The upgrade went fine except that my entire menu bar won't show and the page load stops dead in its tracks. However, if I uninstall the Menu Manager module, the site loads, but without the menu.
Site is here:
http://hastingsfirm.mytestbed.com
I've searched this site and Googled, and I cannot find a solution. I ran the upgrade script and CMSMS says everything is up to date.
Any ideas? I'm willing to pay for assistance.
The upgrade went fine except that my entire menu bar won't show and the page load stops dead in its tracks. However, if I uninstall the Menu Manager module, the site loads, but without the menu.
Site is here:
http://hastingsfirm.mytestbed.com
I've searched this site and Googled, and I cannot find a solution. I ran the upgrade script and CMSMS says everything is up to date.
Any ideas? I'm willing to pay for assistance.
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
Have you tried re-uploading the Menu Manager module? Perhaps the initial FTP was corrupted.
Also, clear your cache in Admin.
Nullig
Also, clear your cache in Admin.
Nullig
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
Nope, neither fix worked.
What can the problem be and is there a way to get some kind of navigation going at this point. I've loved CMSMS up to this point and right now, the upgrade .. has been fraught with problems. Wonder if I can revert to an old version.
Help! I'm gonna scream over here! I WILL PAY for assistance.
What can the problem be and is there a way to get some kind of navigation going at this point. I've loved CMSMS up to this point and right now, the upgrade .. has been fraught with problems. Wonder if I can revert to an old version.
Help! I'm gonna scream over here! I WILL PAY for assistance.
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
When you view the source code, it stops dead right when it is supposed to render the menu manager template:
Here's the code in the global content block "menu":
I even tried exporting the default navigation. I tried calling the default *.tpl instead of the "hl-menu" template. Nothing makes that menu appear and it WAS working. I had a working site (well except those pesky tag and event errors). Ugh!!
Code: Select all
<div id="sidebar">
<div id="menu_vert">
<h2 class="accessibility">Navigation</h2>
Code: Select all
<div id="menu_vert">
<h2 class="accessibility">Navigation</h2>
{menu number_of_levels="2" template='hlf-menu' collapse='1' excludeprefix='disclaimer'}
</div><!-- /menu-vert -->
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
I also tried just plopping the global content block right into the template:
Still doesn't work.
Code: Select all
<div id="menu_vert">
<h2 class="accessibility">Navigation</h2>
{menu number_of_levels="2" template='hlf-menu' collapse='1' excludeprefix='disclaimer'}
</div><!-- /menu-vert -->
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
So, you have a global content block called "menu"?
I think that may be confusing, as "menu" is a shortcut to menu manager.
Try renaming your GCB to mymenu, or something.
Nullig
I think that may be confusing, as "menu" is a shortcut to menu manager.
Try renaming your GCB to mymenu, or something.
Nullig
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
I thought of that too, and renamed it "nav-bar" .. Still doesn't work. I took the call to the template completely out of the loop, forcing it to use the default *.tpl template. Still doesn't work.
I just don't know what the heck I can do. The client signed off on the site and is bugging me to go live with it and everything was working, well nearly, until the &%^$%# upgrade.
I just don't know what the heck I can do. The client signed off on the site and is bugging me to go live with it and everything was working, well nearly, until the &%^$%# upgrade.
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
Okay, here's a clue. When I put the raw code directly into the template, instead of in a global content block, I removed the part, forcing it to use whatever default template is there. This is what's in the template now instead of a call to the global content block:
Now I get this error on page load:
Code: Select all
template=""
Code: Select all
{* Start Navigation *}
<div id="menu_vert">
<h2 class="accessibility">Navigation</h2>
{menu number_of_levels="2" collapse='1' excludeprefix='disclaimer'}
</div><!-- /menu-vert -->
{* End Navigation *}
string(59) "Smarty error: unable to read resource: "globalcontent:menu""
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
Your template is still calling the "menu" GCB:
"Smarty error: unable to read resource: "globalcontent:menu"
Post your main template code from around the menu GCB call.
Nullig
"Smarty error: unable to read resource: "globalcontent:menu"
Post your main template code from around the menu GCB call.
Nullig
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
You also might want to give your sidebar div a specific width, so it doesn't push the main content below it.
Try
width: 200px;
Try
width: 200px;
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
Template code:
And here is the CSS for the sidebar:
Code: Select all
{* Start Header *}
{global_content name='header'}
{* End Header *}
<hr class="accessibility" />
{* Horizontal ruler that is hidden for visual browsers by CSS *}
{* Start Content (Navigation and Content columns) *}
<div id="main">
{* Start Sidebar *}
<div id="sidebar">
{* Start Navigation *}
{global_content name='hlf-menu'}
{* End Navigation *}
{* Start News *}
{global_content name='news'}
{* End News *}
</div><!-- /sidebar -->
{* End Sidebar *}
Code: Select all
div#sidebar {
display: inline; /* FIX IE double margin bug */
float: left;
/*margin-top: -15px; */
margin: 0;
width: auto;
}
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
And (are you sick of me yet?) here's what's in the "hlf-menu" global content block:
And drilling down further, here's what's in the "default" menu manager template:
Code: Select all
<div id="menu_vert">
<h2 class="accessibility">Navigation</h2>
{menu template="default" number_of_levels="2" collapse='1' excludeprefix='disclaimer'}
</div><!-- /menu-vert -->
Code: Select all
{* CSS classes used in this template:
.activeparent - The top level parent when a child is the active/current page
li.active0n h3 - n is the depth/level of the node. To style the active page for each level separately. The active page is not clickable.
.clearfix - Used for the unclickable h3 to use the entire width of the li, just like the anchors. See the Tools stylesheet in the default CMSMS installation.
li.sectionheader h3 - To style section header
li.separator - To style the ruler for the separator *}
{if $count > 0}
<ul>
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="<ul>" times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string="</li></ul>" times=$node->prevdepth-$node->depth}
</li>
{elseif $node->index > 0}</li>
{/if}
{if $node->current == true}
<li class="currentpage"><h3><dfn>Current page is {$node->hierarchy}: </dfn>{$node->menutext}</h3>
{elseif $node->parent == true}
<li class="activeparent"><a class="activeparent" href="{$node->url}"{if $node->accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $node->tabindex != ''} tabindex="{$node->tabindex}"{/if}{if $node->titleattribute != ''} title="{$node->titleattribute}"{/if}><dfn>{$node->hierarchy}: </dfn>{$node->menutext}</a>
{elseif $node->type == 'sectionheader'}
<li class="sectionheader">{$node->menutext}
{elseif $node->type == 'separator'}
<li class="separator" style="list-style-type: none;"> <hr />
{else}
<li><a href="{$node->url}"{if $node->accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $node->tabindex != ''} tabindex="{$node->tabindex}"{/if}{if $node->titleattribute != ''} title="{$node->titleattribute}"{/if}{if $node->target != ''} target="{$node->target}"{/if}><dfn>{$node->hierarchy}: </dfn>{$node->menutext}</a>
{/if}
{/foreach}
{repeat string="</li></ul>" times=$node->depth-1}</li>
</ul>
{/if}
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
What are my options beside the menu manager (ver. 1.5) which CLEARLY has gone south for the summer? I guess I can just hand code the menu. The client isn't going to be changing it anyway. We need this thing up and functional. I guess I can just cut and paste the content from this development site into a fresh install on his server. But what a lot of work. I shouldn't have to resort to things like that.
Submit your site to the We Love CMSMS showcase
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
Try changing your main template code to:
{* Start Navigation *}
Navigation
{menu number_of_levels="2" template='hlf-menu' collapse='1' excludeprefix='disclaimer'}
{* End Navigation *}
instead of calling a GCB.
Nullig
{* Start Navigation *}
Navigation
{menu number_of_levels="2" template='hlf-menu' collapse='1' excludeprefix='disclaimer'}
{* End Navigation *}
instead of calling a GCB.
Nullig
Re: Menu Manager not displaying menu after upgrade from Blackrock to Cuba-Havana
I've done that. And nullig, I've even HARD CODED the menu into the template:
And still NO MENU. The ONLY way I can get the rest of the pages to load is to disable menu manager. So if I do that WHAT are my options for a menu? Just hardcoding it? That seems sloppy.
Code: Select all
{* Start Navigation *}
<div id="menu_vert">
<h2 class="accessibility">Navigation</h2>
<ul>
<li class="currentpage"><h3><dfn>Current page is 1: </dfn>Home</h3>
</li>
<li><a href="http://hastingsfirm.mytestbed.com/free-consultation"><dfn>2: </dfn>Do You Have a Case?</a>
</li>
<li><a href="http://hastingsfirm.mytestbed.com/practice-areas"><dfn>3: </dfn>Practice Areas</a>
</li>
<li><a href="http://hastingsfirm.mytestbed.com/attorneys"><dfn>4: </dfn>Attorneys</a>
</li>
<li><a href="http://hastingsfirm.mytestbed.com/past-results"><dfn>5: </dfn>Past Results</a>
</li>
<li><a href="http://hastingsfirm.mytestbed.com/faqs"><dfn>6: </dfn>FAQs</a>
</li>
<li><a href="http://hastingsfirm.mytestbed.com/contact"><dfn>7: </dfn>Contact</a>
</li>
</ul>
</div><!-- /menu-vert -->
{* End Navigation *}
Submit your site to the We Love CMSMS showcase