Sorry, I've only just found out how you do this so I am repeating myself (ooops). And the request is for 4.3 or 4.4 or both.
The site I am planning is going to be organised by books, each book representing a publication, with issues under the book and articles under each issue. I explained this in a forum entry here.
The problem comes when I am entering book pages. The way books are currently organised, in the drop-down hierarchy list I see a list of all the articles for all the publications, when in actual fact I know:
a) that those pages which are articles can never have another page under them
b) that the page (article) I am submitting is for a specific publication and not for another.
What I would like is some way to limit the size of the drop-down list which otherwise is very quickly going to get very confusing. I have two ideas:
a) very easy quick hack: set a maximum "leaf" level for books applied to the whole site. This stops the recursion through the table of contents before it gets to the leaf level. In my example, I will never see my articles in the drop-down list, because I have set the leaf level to "2" (ie, publication and issue).
b) more complicated: set a maximum "leaf" level for each book when created, and then provide a two-step choice with two drop-down lists in the "create page" form, so I can choose the publication first, then the hierarchy within the publication.
I think this would be a very valuable addition to an excellent CMS.
Comments
Comment #1
moshe weitzman commentedkilles has posted a patch which adds a 'create book page here' link when viewing a page in the book. after clicking that link, the parent is preselected for the user. thus, the long dropdown becomes a non-issue.