Add better support for reordering book pages.

druppi - May 28, 2009 - 16:26
Project:BookMadeSimple
Version:6.x-2.0
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

If you have the idea to reorder the pages in a book while viewing the book, you have to be very "clicky" with your mouse: first click on the Outline tab, then click on reorder an entire book link, then select the book from the list (it could be very big) and click on the corresponding link. That's very annoying and is not very user friendly.

Could you please add a direct link admin/content/book/nn to the view book form?

#1

MarcElbichon - May 29, 2009 - 09:38

Can you try this version (contains also your #474390: Add child page does not respect language url issue).

Go to edit page, expand BookMadeSimple fieldset and click on Reorder the book.

Is it good for you ?

#2

MarcElbichon - May 29, 2009 - 09:38

It's better with attached file !!!

AttachmentSize
book_made_simple.module.txt 13.07 KB

#3

MarcElbichon - May 29, 2009 - 12:04

I send you a new version. You can now reorder the book by selecting "Reorder the book" tab.
Is it suitable for your need ?

AttachmentSize
book_made_simple.module.txt 13.69 KB

#4

druppi - June 2, 2009 - 06:33

Yes this works, but you have hidden it very well. There are at least two clicks and scrolling superfluous.

Imagine the following situation:

You have added a new page to the book and now want to reorder the book pages. What do you do? Do you go back in the hierarchy until you get to the book node, then edit the book node to reorder the book, then expand the BookMadeSimple section, hurray, there is a link to reorder the book. Or do you, while editing a new book page, expand the BookMadeSimple section and click on that link in there, to reorder the book. So you haven't saved your current new book page :(

All "management links" for nodes are in the tabs you see on the node view page. So, please add the link to this tabs and you are only one click away from reordering the book.

[Edit]
And if I could operate my browser correctly, I would have seen that you have all done well! The Reorder the book link is in the correct place within the tabs. Very good work!

[Edit2]
Would it be possible to show the Reorder the book only if the node is a book or a member of a book? It does not make sense to show the link if it is not the case. And, can you move the tab to the rightmost position, at least not between View and Edit?

#5

druppi - June 1, 2009 - 12:01

Sorry that I am insatiable. Could you please add ?destination=node/nn to the Reorder the book link? With that you return to the node view page when you save the new page order.

And, in my opinion, you can remove the BookMadeSimple section in the node edit form completely as it does not fit into the edit workflow.

#6

MarcElbichon - June 3, 2009 - 07:11

Hi

Send you a new version with destination query string.
The tab's weight has been modified to be after outline tab

For your EDIT 2 remarks, it works for me. Can you retry with this new version ?

You need you clear menu and data caches

AttachmentSize
book_made_simple.module.txt 13.86 KB

#7

druppi - June 3, 2009 - 16:02

Fine! It works as desired.

#8

MarcElbichon - June 9, 2009 - 07:25
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.