Issue Bug Closed

#18415Make Buttons / Order / Group in docheaders dynamic

Steffen Kamper 03/10/08, 16:55 updated 09/09/13, 08:52

Description

With the patch it is possible to define button-order and grouping (Seperator) with userTS. The default looks like this:

options.docheader.left = function_menu,|,level_up,back,close,cancel,refresh,|,upload,new_record,paste,|,new_page,new_content,|,view,edit,edit_page,edit_content,hide_unhide,move,move_page,history_page,|,columns_only,|,save,save_view,save_close,save_new,|,delete,undo,history

options.docheader.right = record_list,cache,|,shortcut,|,open_in_new_window

| = Seperator

I made the function menu as button so the position is configurable too.
To change it individually copy both to userTS and change the order. The strings contains all available buttons, if you delete a button name, the button will not appear.

I also added a hook in template.php to add/modify buttons and the order

I looked through all views (hope to match all) and compared to ensure that nothing is missed, please check that too.
(issue imported from #M7811)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.