No Sub-menus using Navigation Menu


Author Message
Traphen

Posted: 9/12/2010
Quote message 

Hi I have created a theme using current Artisteer and uploaded to WP 3.0.1 however I want to use Navigation Menu Widget (not custom menu) to show styling as per artisteer theme.

I have tried many of the suggestions here but I am unable to fix the sub-menus not showing up....have dragged the pages into sub-menu position as is required .

The only thing I can see is that I require the Primary menu (in menu section of WP) to be a custom menu ( for horizontal menu) then the Secondary Menu (for the Sidebar) is the Navigation Menu Widget (which should have sub-menus)

I can get this to work if I change the Navigation Menu for the Custom Menu in the widgets for Primary Widgets Area, however I cannot change the css look to suit.

config.ini is set to true for Menu and VMenu

Hope all this makes sense


Any solutions or suggestion would be terrific.

Appreciate your assistance

Regards
Traphen
 
Garry

Posted: 9/13/2010
Quote message 

Make sure you select multilevel in Artisteer from: "menu->sub items->level->multilevel"

 
traphen

Posted: 9/13/2010
Quote message 

Thanks Garry

i Have Multilevel selected on in both menu and vertical Menu - subitems....the problem seems to be when I select the "Vertical Menu Widget" in WP , and not the Custom Menu Widget....I would really like the vertical menu customisation that Ive done in Artisteer to be seen with the Vertical Menu Widget as the Custom Menu has not got the same customisation.

Any other clues

Thanks for your assistance look forward to any other suggestions

Regards
Traphen
 
Abland

Posted: 9/14/2010
Quote message 

Hi, traphen,

Quote traphen:
The only thing I can see is that I require the Primary menu (in menu section of WP) to be a custom menu ( for horizontal menu) then the Secondary Menu (for the Sidebar) is the Navigation Menu Widget (which should have sub-menus)


I'm unclear on this. Did you do this part and make the Primary menu and Secondary menu associations?
 
Traphen

Posted: 9/14/2010
Quote message 

Abland

Thanks for your input:

I require a Horizontal Menu (some pages ie contact , find me) and a side bar menu with all pages and subitems showing.

I have the Horizontal Menu set as Primary and the secondary menu set for the sidebar (But this secondary can only be set as Custom Menu Widget and not Navigation Menu Widget to show sub items) . The Primary Menu in Appearances / Menu has to be set to Horizontal menu to show pages and then the sidebar was set to show another set of pages with subitems. However in the Appearance/Widgets this shows the "Sidebar" as Primary ...hence the problem there I feel.

So...

I have tried removing the horizontal Menu from the template altogether, and uploading an amended theme with only the sidebar menu , and when I set the Primary up (in Appearance/Menu) as the Side Bar Menu the Navigation Menu Widget (Artisteer Styling) still does not expand to show the sub items. It appears the the "vertical Menu" created in Artisteer and the ability to have sub items and styling gets lost. I can use a "Custom Menu" in Appearances/Menu in WP to achieve the sub-items but no styling. If I don't want sub-items it all works well.

I apologize if this does not make a lot of sense but I am finding this difficult to explain.

Look forward to any suggestions

Regards
Traphen


 
Abland

Posted: 9/14/2010
Quote message 

Hi, Traphen,

Thanks for the clarification. In your custom menu, are you using actual pages for the parent page? Or are you using blank links, like " # " in the url?

I just remembered that a "placeholder" link as the parent in the vertical menu will not open submenus. I discovered it in a recent project so just adapted and did not give it any more thought. :-X
 
Traphen

Posted: 9/14/2010
Quote message 

Quote Abland:

Hi, Traphen,

Thanks for the clarification. In your custom menu, are you using actual pages for the parent page? Or are you using blank links, like " # " in the url?

I just remembered that a "placeholder" link as the parent in the vertical menu will not open submenus. I discovered it in a recent project so just adapted and did not give it any more thought. :-X


Dear Abland

Thanks for the above info...In the custom menu each is a particular page as created in /pages in WP...with the page attributes being set under the parent.

Regards
Traphen

 
Abland

Posted: 9/14/2010
Quote message 

Hi, Traphen,

This is a puzzler. Do you have a link we could look at?
 
Traphen

Posted: 9/14/2010
Quote message 

Dear Abland

Please find a link to this site (NOTE it is a demo site only)

http://www.hostingimpact.com/demo/

I have also included some images for the Menu and Widget Set up to show the settings for you on the Main Test Page.

I have tried using the Vertical Menu Widget on other themes and WP setups and the same occurs - no sub items....

It does not matter if their is a horizontal menu as well

the vertical menus has been set as pages in the Export Setup as well

Quite baffling to say the least but I would love to use the Vertical Menu for styling.

look forward to your response

Regards
Traphen


 
Abland

Posted: 9/14/2010
Quote message 

Hi, Traphen,

That helps. In Appearance > menu:

Your menu "sidebar" should be under "Secondary Menu" in the "Theme Locations" section - not Primary
 
Traphen

Posted: 9/14/2010
Quote message 

Quote Abland:

Hi, Traphen,

That helps. In Appearance > menu:

Your menu "sidebar" should be under "Secondary Menu" in the "Theme Locations" section - not Primary



Dear Abland

I really do appreciate your assistance with this it means a lot.

I have changed the settings as above but still not sub-items . I have included a new image under Main Test Page for you to view

Again a big thanks to you

Regards
Traphen
 
Abland

Posted: 9/14/2010
Quote message 

Hi, Traphen,

Well, the links are there, but they're not being tagged as active. In your style,css find: (approx. line 526)
ul.art-vmenu ul

{
display: none;
}

change to:
ul.art-vmenu ul

{
display: block;
}

and you'll see the submenu.

However, the submenus will show all the time. So change it back to "display: none;".
Then in Wordpress admin: Appearance > Menus add your "second menu" under "Primary Menu" and keep "sidebar" under the Secondary.
** Remember to hit Save.

Next, go to Appearance > Widgets and delete your Navigation Menu widget, then add it back in again. This part may not be needed, but I always like to go back to the start to make sure.
 
Traphen

Posted: 9/14/2010
Quote message 

Thank you again for your assistance Abland

I amended the style sheet as above and yes I could see the sub items (screen shot of this is in Main test page)

Then I changed it back and completed the instructions above ...with no success

so....then...

As the Second Menu was irrelevant to this theme (having only one menu) I have deleted this and set the "sidebar " up as primary.

I have also tried various combination's with no luck

Is there something within the Artisteer setting that I have missed - all menus have multi-levels set in sub-items and the relevant page set to vertical menu in export ..

I also checked another domain using the vertical menu as categories (pages is horizontal menu and categories is "vertical widget" in the LHS sidebar) yes I get the lovely styling but alas no sub-items. (I haven't needed the sub-items before) The Custom Menu section within the Appearance>menu has not been touched in this domain and wp setup, as it has not been needed.

Look forward to any other suggestions

Is this just a problem with me?

Kind Regards
traphen




 
Abland

Posted: 9/15/2010
Quote message 

Hi, Traphen,

When I look at your page source, the menu links for the current page are not being marked with: class="active".
Submenus show by rules in your style.css, which work because you tried "display: block;".
Your theme's "core/navigation.php" assigns the class="active", so it's not being called correctly, or it's been modified.

Could you provide a link to download your theme? In particular, the contents of your theme's "core" folder.

BTW, your sidebar menu must be under Secondary Menu. If you look in "core/widgets.php" the first function, theme location is secondary menu:
function art_get_vmenu($id='', $class='' , $theme_location = 'secondary-menu', $title = 'Vertical Menu')

 
Traphen

Posted: 9/15/2010
Quote message 

Dear Abland

I have uploaded a zip of the theme as requested to:

http://www.hostingimpact.com/artisteer/saddingtonsnotopmenu.zip

I have not modified the core/navigation.php file this is straight from the export in Artisteer

Additionally I have changed the "sidebar" back to secondary menu with primary menu "blank"

Thanks again

Regards
Traphen
 
Abland

Posted: 9/15/2010
Quote message 

Hi, Traphen,

Thanks. I've downloaded and installed your theme on a test site and everything worked fine. I also created a custom menu and made it "Secondary Menu" with no Primary and all worked as it should.

I can only think that it's either something to do with a plugin. Disable all plug ins to see if anything changes, and if it does then reactivate plug ins one at a time to find which one is causing the issue.

Or it's with your hosting provider. There was a post from another designer whose function to call config.ini was being disabled by their server security.
 
Traphen

Posted: 9/15/2010
Quote message 

Dear Abland

Thank You so much for all your assistance...At least I know it is not in the theme itself...gives me some direction at least...thanks

One question tho...

Did you utilise the "vertical menu" Widget as the menu or utilise the "Custom menu" widget ?

I will disable all plugins and see if this works....then check the hosting setup....

Again Thanks ...

Regards
Traphen
 
Abland

Posted: 9/15/2010
Quote message 

Hi, Traphen,

I use the Vertical Menu widget. As you noticed, it's the one that keeps the format that was designed in Artisteer.
 
Traphen

Posted: 9/15/2010
Quote message 

Hi Abland

Thanks....again thank very much for your assistance...will let you know how I go

Regards
Traphen