Forum Support

Shape 5
March 28, 2024, 08:10:35 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Home button does not work when "Enable Parent Link" = No  (Read 861 times)
dmock9999
Jr. Member
**
Offline Offline

Posts: 23



« on: January 01, 2013, 08:27:00 PM »

I have "Enable Parent Links" = No because the menu does not stay open for more then a couple seconds unless you click on the > symbol next to the menu option.  Everyone seems to want to click on the menu topic itself to see the submenus below.  The issue is when you have it set to No, the first menu option is Home and it does not take you anywhere.  It is just showing javascript:; .
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: January 02, 2013, 11:36:40 AM »

Enable Parent Links applies to all top-level items in the accordion; you can disable the "Home" item with a small code edit, but that's all I can suggest.

To do that, edit "{plugin_folder}/mod_s5_accordion_menu/functions.php", find "echo $home;" (right near the top, under "$home = "), and change it to "//echo $home;".

That will "comment out" the line that generates the "Home" button on the accordion menu.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
dmock9999
Jr. Member
**
Offline Offline

Posts: 23



« Reply #2 on: January 03, 2013, 03:22:38 PM »

I am sorry, I don't see any replies!
Logged
dmock9999
Jr. Member
**
Offline Offline

Posts: 23



« Reply #3 on: January 03, 2013, 07:07:42 PM »

Yeah that kind of works.  If I remove Home all together, it expands the next menu option.  Can I keep the second menu item collapsed?
You can see my issue at ombc.net.

OR BETTER

Can I set "Enable Parent Links"=Yes and get it to keep the menu item expanded for more then a couple seconds?  I don't understand why it would be designed to collapse after the user just tried to expand the menu.

Dan
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #4 on: January 04, 2013, 10:43:05 AM »

The menu shouldn't be automatically collapsing; I'll have to take a look at the code for it and see what I can do about that.

I've been wanting to update the plugin to use the WP3 custom menus anyway, but getting that to work correctly might take a while, so I'll try to focus on the collapsing thing first.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.