Expand book entries using CSS and DHTML Menu

Chajecki - May 19, 2009 - 22:19
Project:Site map
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I marked option "Show books expanded" and set "categories dept" to "all" in module settings but from some reasons the list of books is still not expanded. I even look at the code and found that variable site_map_books_expanded is not even used in the site_map.module anymore.
Is it a feature that you dropped (it was working in D5) or are you going to add it soon?
or am I doing anything wrong?

I would appreciate any response.

#1

harking - September 18, 2009 - 18:57

Looks like in 1.1 release frjo commented out this setting since it was not used anywhere else in the module. Since he just commented it out, I guess that it might be added back in the future.

#2

frjo - September 22, 2009 - 12:39
Category:bug report» feature request

I commented it out sine it not used in D6 just as harking mentioned. Can't remember why at the moment but I guess I had problems with implementing it under D6.

If anyone has a solution please submit a patch.

#3

dieter - October 28, 2009 - 10:51
Version:6.x-1.x-dev» 6.x-1.2
Category:feature request» bug report

subscribing

#4

transformative - November 18, 2009 - 23:05
Title:Book list not expanded» Expand book entries using CSS and DHTML Menu

I'm using the DHTML Menu module for my book menu structure. It automatically loads all of the levels of the book, but then allows them to be expanded or collapsed. (Double-clicking on the expandable links allows you to go to the link. I include instructions at the top of the site map, to this effect, for users.).

With DHTML Menu enabled, if I then want all of the links to be expanded by default , then I add the following code to my CSS:

#site-map .sitemap-book ul.menu{
display:block;
}

(I have also experimented with JQuery menu module -- combined with the Advanced Book Blocks module -- to do the same thing as DHTML Menu without the need to double-click. I don't know whether these alternative modules would work similarly in this scenario, or not, but it might be worth a try if you don't like the double-click behaviour of DHTML Menu.)

 
 

Drupal is a registered trademark of Dries Buytaert.