Project

General

Profile

Actions

Bug #18415

closed

Make Buttons / Order / Group in docheaders dynamic

Added by Steffen Kamper over 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-03-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Files

docheader_dynamic_buttons.diff (45.5 KB) docheader_dynamic_buttons.diff Administrator Admin, 2008-03-10 16:55
Actions

Also available in: Atom PDF