WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Sidebar Menu
[resolved] Number of levels deep and presentaiton of parent page. (46 posts)

  1. toyshot
    Member
    Posted 2 years ago #

    I was looking for a menu plugin that took into account the page hierarchy, and I must say that the Advanced Menu, Sidebar is the one who has come closest of the ones I looked at. It is easy to use.

    I'd like to give some suggestions on functionality and that is that the menu that is generated that the parent may be bold and a few pixels bigger. Think it will make the presentation look prettier.

    Another thing I noticed and did not find any setting for, was how many levels down it would build the menu. Now it seems as if it only goes two levels down and I think it would be nice to be able to specify the number of levels it would build. I have some pages that go down 3-4 levels.

    It was my proposal and I may say that it is the closest I found that suited my needs.

    //Benny

    http://wordpress.org/extend/plugins/advanced-sidebar-menu/

  2. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you for the feedback toyshot.

    I agree it could probably use some default CSS. I gave each level (at least three) different classnames but at the least it could probably use some default margins, boldness etc. Also having the ability to choose how many levels it goes down would be a nice addition. I think I'll have to add that on my next version.

    The way it currently works now is it shows the top level parent and 1 level of children if you are on the top parent page. If you are on any of the child pages and they have children, it will display all the children of that child as well as many levels deep that exist. Does that make sense?

    I welcome suggestions and am happy to add new cool stuff with each version.

  3. toyshot
    Member
    Posted 2 years ago #

    Hi

    The way it currently works now is it shows the top level parent and 1 level of children if you are on the top parent page. If you are on any of the child pages and they have children, it will display all the children of that child as well as many levels deep that exist. Does that make sense?

    That makes perfect sense but there are no visible indication on the second level if there are any more under that. You have to select to find out. Maybe a visual indication that there are more pages on the menu choices would help.

    For me would the possibility to how many levels to present solve my presentation problem. :)

    Thanks for answering and keep up the interest. =)

    //ToyShot

  4. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    It's been a while.

    The lastest version now includes the ability to display a desired number of levels always, among other new options.

    Hope this takes care of some of the needs out there.

    Cheers!

  5. cloudfe
    Member
    Posted 2 years ago #

    Hello Mat, as toyshot I do appreciate your plugin and the added option for the desired number of sublevels.
    I was wondering if you have in mind to add some stylistic options (such as boldness for the parent page, or more important to place the parent page a little to the left in the column).

    Thank you for the great work :)

  6. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Cloudfe,

    I have been racking my brain trying to think of the best way to add some default styling.

    Each level of the menu has it's own classname. The parent page could end up in any of the three classnames depending on the user's setting, excluded pages, site structure etc.

    I know if definitely could use some default styling. Probably with a checkbox to use it or not.

    I'll see what I can come up with.

    If you have a particular way you are using it and would like me to write some styling you could add to your stylesheet I would be happy to.

  7. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Alright,

    I have now added some very minor default styling to version 2.1. You will now find a checkbox in the widget which will allow you to enable it.

    Hope this helps.

    Cheers

  8. cloudfe
    Member
    Posted 2 years ago #

    Thank you Mat, this helped a lot :)

  9. cloudfe
    Member
    Posted 2 years ago #

    For the styling, I was thinking of something quite simple, like the "contents menu" style you can find in wordpress.org itself (the irony, right? :p ) at this address: http://codex.wordpress.org/Customizing_Your_Sidebar#Nested_Lists

    Do you think something like this can be achieved?

  10. cloudfe
    Member
    Posted 2 years ago #

    Hello Mat, I was hoping you could tell me if something like that can be achieved.
    Thank you :)

  11. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Hello cloufe,

    I took a look at the link you posted, but I could not find any styling on the page.

    Please explain what you are looking for, and I will see what I can do.

    Thanks.

  12. cloudfe
    Member
    Posted 2 years ago #

    I was referring to this: http://imgur.com/tFl4i
    Do you think it is achievable?

  13. David Radovanovic
    Member
    Posted 2 years ago #

    Mat, is your plugin just for pages? Will it show heirachy in posts, categories, etc. Thanks!

  14. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Cloudfe -
    Give this a shot. It should get you closer.

    .advanced-sidebar-menu a,
    .advanced-sidebar-menu a:visited{
    	color: #257e9e;
    	font-size: 12px;
    }
    
    .advanced-sidebar-menu.widget ul li,
    .advanced-sidebar-menu li{
    	list-style-type: square;
    	list-style: square;
    }
    
    .advanced-sidebar-menu.widget ul{
    	margin: 0 0 0 18px;
    }
    
    .sidebar .advanced-sidebar-menu.widget{
    	background: #f1f1f1;
    	padding: 15px 0 15px 15px;
    	border: 1px solid dadada;
    }
  15. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Dpaule-

    Currently the plugin only works for pages.
    It's not a bad idea to add category support and such.

    I may have to look into adding that on the next version.

    CHEERS

  16. ledlightingwholesale
    Member
    Posted 2 years ago #

    I was asked to move a fully functioning wordpress-based site to a new server.

    I've moved the files and the database, set everything up, and it all seemed to work. When I load the homepage of the site on the new location, the page loads as it should. Opening one of the internal pages, however, generates a broken link error.
    The same goes for wp-admin: I get to the login screen, from there on I get broken link errors no matter what I try.

    I can get the site to work by switching off Pretty Permalinks.
    Using default "Ugly Permalinks", everything works fine.

    .htaccess currently contains the following lines:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    Which, if I'm not mistaken, is the default wordpress .htaccess rules for Pretty Permalinks.

    The server runs a plain vanilla Debian install. The site has been installed in a subfolder of /var/www

    According to the sys-admin, mod_rewrite is enabled.
    Since the site runs with Uggly Permalinks, I think we can rule out any problems with PHP or the database.
    http://www.ledlightingwholesale.com

  17. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Good Morning ledlightingwholesale,

    What is the IP of the server that has the site that is not working? I might be able to determine what is causing the issue if I point my browser to the broke n one and take a look.

    Regards

  18. PaulHedges
    Member
    Posted 2 years ago #

    Hey Mat,

    Thanks for the plugin. I was combining two plugins before to get this functionality and now I can use just one. Awesome!

    Question for you. The plugin does not appear to inherit the menu order from the custom menu capability in WP3X. Is that expected behavior or am I seeing a bug?

    Without this ability, I have one menu order from the main nav and a different one from the page nav. Would like to have them the same, if possible.

    Thanks!

  19. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Hello PaulHedges,

    The plugin currently supports using the built in page order field to order the menu.

    It functions the same way the main navigation used to before custom menus. It pays no attention to the custom menu order.

    Let me know if you need some basic instructions on page orders. I will be happy to find/write a quick tutorial.

  20. cloudfe
    Member
    Posted 2 years ago #

    Hello Mat,
    this actually helped a lot, thank you :)
    One problem: no matter what I edit in the css, I can't manage to add some space between all the rows.
    Is it possible?

  21. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    Hello Again cloudfe,

    Try adding this to your stylesheet.

    .advanced-sidebar-menu.widget ul li, .advanced-sidebar-menu li {
        padding: 3px 0;
    }

    You can change the 3px to a larger or smaller number depending on how much space you would like.

    Hope this helps!

  22. cloudfe
    Member
    Posted 2 years ago #

    That worked very nicely, thanks :)

    Are you planning for the future any "hover" option (you know, underlined links etc) or some other kind of style option?

  23. cloudfe
    Member
    Posted 2 years ago #

    So no future options for that?

  24. Mat Lipe
    Member
    Plugin Author

    Posted 2 years ago #

    It's hard to say what the future holds.

    This week at the office we have been kicking around making a pro version of this plugin which will include a full styling interface and many other options, but we decided to shelf that idea to focus on some of our other projects.

    For now, the best I can say is the future of this plugin is unknown.

    Cheers

  25. cloudfe
    Member
    Posted 2 years ago #

    Too bad :(

  26. MrSlartibartfast
    Member
    Posted 2 years ago #

    hi and thanks for this good plug-in. It was exactly what i was searching for.

    I am currently working on the design of the homepage.
    Basically i think that i have an understanding of how to work with css, but since i am also quite new to wordpress i got confused and don't seem to manage to style the sidebar menu.

    a) If i want to change for example that a link when hovering on it is not underlined, where would i do this?
    text-decoration: none

    b) I want to add a separating line after ( <hr />-tag??) after each page (menu item) so the sidebar menu is making a more organized impression. Do you have an idea on how to achieve that?

    c) Where do i have to add the code - in the sidebar-menu.css or in the style.css of the theme?

    Sorry but i got a little confused with all the different .css files and trying to get into wordpress. Also playing around with the stylesheets hast not been very productive so far, so i hope somebody can help me out.

    cheers

  27. MrSlartibartfast
    Member
    Posted 2 years ago #

    Its me again.

    Maybe I was already to tired yesterday evening...

    I found all the answers (well at least to my questions above).
    If it is of interest to anyone:
    a) I couldn't make the underline of my links go away even though i changed it in the sidebarmenu.css because in my theme in the style.css there links were set to be underlined with an "important" tag, which overruled my later settings.

    a:hover{
    text-decoration:underline!important;
    }

    I had to change that first in my style.css (and also do what i say in point c)...)

    b) In the end i added a "border-bottom: dashed 1px" tag to this class ".advanced-sidebar-menu ul li" which made a separating line after every link.

    c) Well, I did not check the "Use Built in Styling" checkbox in the widget-area so no wonder i was changing things in the sidebarmenu.css file and nothing happend.

    Cheers and thanks again for this plugin! Its really usefull and works without problems now.

  28. cloudfe
    Member
    Posted 2 years ago #

    Hello,
    I feel incredibly stupid to ask this, but I didn't find a solution so far, so...
    How do I change the size of the squares at the beginning of every link in the widget?
    I'm using the Built In Styling.

  29. cloudfe
    Member
    Posted 2 years ago #

    MrSlartibartfast, is it possible to achieve your first result (the hovering) without giving up the Built in Styling?

  30. MrSlartibartfast
    Member
    Posted 2 years ago #

    Hi Cloudfe,

    Sorry to ask, but which squares?
    Maybe I already edited it and that is why i don't have squares?

    Are you using the Built in styling?
    I have checked the box for built in styling (in the admin panel > appearance > widgets) and after that edited the stylesheet... so i might have taken them away if there where some. Maybe i explained it a bit confusing in my last post, but i am definitely using built in styling! (i just forgot in the beginning to check the checkbox so my styling didn't work)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic