I am using drupal 7 and book module. On node add/edit form for book content type when adding new book page there is Book outline tab at the bottom, When you select Book from first Select field, a second Select field appears called "Parent item". I want to change this SECOND Select field into tree format, So that it lists down only parents and when clicking on one of parent it will further list down its children and so on instead of having one Select field and keep the the functionality same.

I have searched and tried for many contributed modules, but none of them solved my problem so far. Please help me in this regard, I would like to know the better approach to achieve this goal. Also, please tell me is there any module available for this or the only way is to write a custom module? in case of custom module which hooks can be helpful.

Comments

RoloDMonkey’s picture

Wahmed’s picture

Can you please guide me by some example? i installed this module but it only changed hierarchy in menus. How can i make it to change Book outline dropdown into hierarchical select field? so if select book page in first drop down, the second "parent item" dropdown would populate only with parents and then selecting one of item from "parent item" would lead to another dropdown having all childs of that parent item.

RoloDMonkey’s picture

I thought the Hierarchical Select module did this for the Book module out of the box. If it doesn't, then you will have to read the docs for the module and figure out how to do it.

There are probably other people that have wanted to do the same thing. So, doing some Google searches should help also.

--

Read more at iRolo.net