Project

General

Profile

Actions

Bug #18047

closed

Fixing docheader in the backend modules

Added by Benni Mack almost 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-01-24
Due date:
% Done:

0%

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

Description

The new docheader in alt_doc.php is not perfect yet, also missing in the list, page and template view of the Backend. We're going to change this.

That's why we made some changes.

(issue imported from #M7262)


Files

20080124_docheader_alt_doc.patch (12 KB) 20080124_docheader_alt_doc.patch Administrator Admin, 2008-01-24 13:59
20080129_docheader_alt_doc_db_list.diff (42.8 KB) 20080129_docheader_alt_doc_db_list.diff Administrator Admin, 2008-01-29 22:03
list view.jpg (31.3 KB) list view.jpg Administrator Admin, 2008-01-30 09:00
page view.jpg (30.7 KB) page view.jpg Administrator Admin, 2008-01-30 09:00
edit record-1.jpg (20.4 KB) edit record-1.jpg Administrator Admin, 2008-01-30 09:00
20080131_rfc7262.diff (95 KB) 20080131_rfc7262.diff Administrator Admin, 2008-01-31 14:49
page module header-1.jpg (27.5 KB) page module header-1.jpg Administrator Admin, 2008-01-31 15:27
list module header-1.jpg (16.1 KB) list module header-1.jpg Administrator Admin, 2008-01-31 15:27
more docheader fine tuning.png (71 KB) more docheader fine tuning.png Administrator Admin, 2008-02-01 14:28
fine-tuning-redundancy.jpg (76.2 KB) fine-tuning-redundancy.jpg Administrator Admin, 2008-02-01 14:42
20080204_rfc7262.diff (130 KB) 20080204_rfc7262.diff Administrator Admin, 2008-02-04 11:18
20080205_rfc7262_base.diff (9.95 KB) 20080205_rfc7262_base.diff Administrator Admin, 2008-02-05 09:59
20080205_rfc7262_func.diff (7.84 KB) 20080205_rfc7262_func.diff Administrator Admin, 2008-02-05 10:00
20080205_rfc7262_info.diff (8.31 KB) 20080205_rfc7262_info.diff Administrator Admin, 2008-02-05 10:00
20080205_rfc7262_list.diff (43.1 KB) 20080205_rfc7262_list.diff Administrator Admin, 2008-02-05 10:00
20080205_rfc7262_page.diff (45.5 KB) 20080205_rfc7262_page.diff Administrator Admin, 2008-02-05 10:00
20080205_rfc7262_perm.diff (8.63 KB) 20080205_rfc7262_perm.diff Administrator Admin, 2008-02-05 10:00
20080205_rfc7262_template.diff (15.7 KB) 20080205_rfc7262_template.diff Administrator Admin, 2008-02-05 10:01
20080205_rfc7262_versioning.diff (9.29 KB) 20080205_rfc7262_versioning.diff Administrator Admin, 2008-02-05 10:01

Related issues 26 (0 open26 closed)

Related to TYPO3 Core - Feature #18148: add docheader to file -> filelist moduleClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18130: Pagetree docheader not according to other docheadersClosedPatrick Broens2008-02-06

Actions
Related to TYPO3 Core - Bug #18150: Docheaders: Module Web > Page : No docheader when no page has been chosenClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18151: Docheaders: Module Web > Functions : No docheader when no page has been chosenClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18152: Docheaders: Module Web > Versioning : No docheader when no page has been chosenClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18153: Docheaders: Module Web > Template : No docheader when no page has been chosenClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18154: Docheaders: Module User Tools > User settings : No docheaderClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18155: Docheaders: Module User Tools > Task center : No docheaderClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18156: Docheaders: Module User Tools > Workspace: No docheaderClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18157: Docheaders: Module Admin tools > User Admin: No docheaderClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18158: Docheaders: Module Admin tools > Log: No docheaderClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18159: Docheaders: Module Help > TypoScript Help: No docheaderClosedPatrick Broens2008-02-07

Actions
Related to TYPO3 Core - Bug #18212: Docheaders: Wizard New Content Element (db_new_content_el.php): No docheaderClosedPatrick Broens2008-02-14

Actions
Related to TYPO3 Core - Bug #18209: Docheaders: Wizard New Record/New page (db_new.php): No docheaderClosedPatrick Broens2008-02-14

Actions
Related to TYPO3 Core - Bug #18196: Docheaders: Module Admin tools > Ext Manager: No docheaderClosedPatrick Broens2008-02-12

Actions
Related to TYPO3 Core - Bug #18198: Docheaders: Module Admin tools > Configuration No docheaderClosedPatrick Broens2008-02-12

Actions
Related to TYPO3 Core - Bug #18199: JS Errors with IE6 and new backendClosedPatrick Broens2008-02-13

Actions
Related to TYPO3 Core - Bug #18197: Docheaders: Module Admin tools > DB check: No docheaderClosedPatrick Broens2008-02-12

Actions
Related to TYPO3 Core - Bug #18214: Docheaders: Wizard Table: No docheaderClosedPatrick Broens2008-02-14

Actions
Related to TYPO3 Core - Bug #18215: Docheaders: Wizard Forms: No docheaderClosedPatrick Broens2008-02-14

Actions
Related to TYPO3 Core - Bug #18216: Docheaders: Wizard RTE: No docheaderClosedPatrick Broens2008-02-14

Actions
Related to TYPO3 Core - Bug #18217: Docheaders: Wizard tsconfig: No docheaderClosedPatrick Broens2008-02-15

Actions
Related to TYPO3 Core - Bug #18218: Docheaders: Wizard Move Element (move_el.php): No docheaderClosedPatrick Broens2008-02-15

Actions
Related to TYPO3 Core - Bug #18227: Docheaders: Module Import Export: No docheaderClosedPatrick Broens2008-02-16

Actions
Related to TYPO3 Core - Bug #18232: Docheaders: Module History: No docheaderClosedPatrick Broens2008-02-17

Actions
Related to TYPO3 Core - Bug #18256: Docheaders: Module Admin tools > Indexing: No docheaderClosedPatrick Broens2008-02-20

Actions
Actions #1

Updated by Benni Mack almost 17 years ago

This first patch does the following:
- Made the docheader in alt_doc.php HTML-template based.
- Added a function to retrieve a HTML template from template.php that can be overriden by a skin.
- Rearranged the buttons in the top bar.

Actions #2

Updated by Patrick Broens almost 17 years ago

Next patch also covers the db_list
The db listing also has HTML template based docheader
Uses the same functionality as Benjamins.

Actions #3

Updated by Ingo Renner almost 17 years ago

very good work guys! anyways there's room for improvement =)... see attached screens

Actions #4

Updated by Patrick Broens almost 17 years ago

I'm still working on the docheader for page and template module. Hope I can get it in before feature freeze. Currently working on the page module docheader. Think it has more priority than template module.

Thanks for the improvements

Actions #5

Updated by Ingo Renner almost 17 years ago

thanks for letting me know Patrick. I'd allow the docheader to go into SVN even after beta1... just to let you know. Nevertheless it would be very welcome to have it with beta1.

Actions #6

Updated by Patrick Broens almost 17 years ago

Thanks Ingo. Page module is half way, so I expect everything to be ready before feature freeze

Actions #7

Updated by Patrick Broens almost 17 years ago

New patch has been added.

This one covers the following modules:
  • Page
  • List
  • Template

There are some styling issues in IE which have to be solved. Icons are not at the right spot. Maybe Jens can have a look at the position of the icons.

I'll continue with the modules:
  • Info
  • Access
  • Functions
  • Versioning

What should I do? Commit this first to trunk and add the missing module docheaders later, or shall we do it at once?

Actions #8

Updated by Ingo Renner almost 17 years ago

adding the missing ones later is ok with me

Actions #9

Updated by Ingo Renner almost 17 years ago

Hi Patrick, here're some more notes on the latest patch... good job!

Actions #10

Updated by Patrick Broens almost 17 years ago

Jeff Segars came with the request to put the 'Update' button in the docheader. This means the 'Cancel' button also has to go in there. I think the best solution is to use the appropriate icons for this.

Constant editor:
'savedok' icon instead of 'Update' button.
Now that I look at it the 'clear all cache' link can be deleted because this is already available in the top toolbar.

Info/Modify:
'savedok' icon instead of 'Update' button
'closedok' icon instead of 'Cancel' button
Same for 'clear all cache', should be deleted

Typoscript Object Browser:
Delete 'clear all cache'

Template analyzer:
No special remarks

Actions #11

Updated by Ingo Renner almost 17 years ago

Hi Patrick, here're some more (minor) suggestions

Actions #12

Updated by Patrick Broens almost 17 years ago

The icon after the text 'Viewing content of' is not redundant! The clickmenu of the page is connected to this icon. I don't think it is wise to remove the icon.

Actions #13

Updated by Ingo Renner almost 17 years ago

ok, didn't notice

(now what to do with this creepy icon?)

Actions #14

Updated by Helmut Hummel almost 17 years ago

What's the current status on this? Any up to date patches available?

Actions #15

Updated by Patrick Broens almost 17 years ago

Last weekend I've rewritten some parts to make it more generic for each module. Currently I'm rewriting all core modules in 'Web' to use the docheader.

Actions #16

Updated by Patrick Broens almost 17 years ago

Hi,

This is a new patch.

The 'Web' modules 'Page', 'List', 'Info' and 'Access' and 'Template' now have the docheader.

Benni did HTML templating only for the docheader. Now the whole output for the modules has a template. The main output of the modules is put in the marker ###CONTENT###. I've done this for future purposes of the HTML templating of the BE modules.

The next few days I'm going to implement the docheaders for the modules 'Functions' and 'Versioning'.

After that I will implement functionality so every function module, added by an extension, can add their own buttons or other stuff to the docheader.

The HTML templates have to move to the modules own dedicated directories.

Ingo asked me to send this patch to core list, although this is not finished yet.

Patrick

Actions #17

Updated by Stefano Cecere almost 17 years ago

i', sorry i couldn not patch my core with this diff..
i usually get it done simply with (when in trunk/ )
patch -p2 < ./20080204_rfc7262.diff
or
patch -p1 < ./20080204_rfc7262.diff

what the correct syntax with this diff? thanks

Actions #18

Updated by Patrick Broens almost 17 years ago

You are stripping of path levels. Simply use -p0

Actions #19

Updated by Stefano Cecere almost 17 years ago

thanks patrick

i just made some checks and it seems very good!! (FF2 and Safari 3)

the only broken thing is the "back" button very far down, when i select a "new record" from the page module

Actions #20

Updated by Stefano Cecere almost 17 years ago

thanks patrick

i just made some checks and it seems very good!! (FF2 and Safari 3)

the only broken thing is the "back" button very far down, when i select a "new record" from the page module

Actions #21

Updated by Patrick Broens almost 17 years ago

I know there are some issues with IE6. Whenever the page is too long, the scrollbar is not at the right spot in some modules. This is a CSS issue which I'm going to resolve.

Actions #22

Updated by Patrick Broens almost 17 years ago

Uploaded the changes for the docheader, splitted in to several patches.

20080205_rfc7262_base.diff: Base patch for template.php and stylesheet.css. Use this patch before applying any of the other patches.

20080205_rfc7262_page.diff: Web > Page module
20080205_rfc7262_list.diff: Web > List module
20080205_rfc7262_info.diff: Web > Info module
20080205_rfc7262_perm.diff: Web > Access module
20080205_rfc7262_func.diff: Web > Functions module
20080205_rfc7262_versioning.diff: Web > Versioning module
20080205_rfc7262_template.diff: Web > Template module

Docheader is tested in FF2, IE6, Opera9 and Safari3 on Windows

There are currently some open minor things which can be added after beta:
  • Extra row has to be added to the docheader
  • Version selector to extra row
  • Searchbox (in list module) to extra row
  • Record selector in Web > Page > Quickedit needs width (Adapts to the longest name which breaks the docheader)
  • Save & Abort buttons Access > User overview to docheader as icons
  • Refresh button Versioning to docheader as icon
  • Searchbox (Template > TS Object browser) to extra row
  • Styling of csh bubbles in docheader
  • Extension module functions need to be able to add their own buttons and buttongroups to the docheader
  • Move the html templates to the proper module locations
  • Make these modules completely templatable
  • Make html templates configurable for skin extensions
Actions #23

Updated by Patrick Broens almost 17 years ago

Stefano,

I can't reproduce this broken back button you are talking about. I've never touched this part of the page module, so it still works like it did before. In my installation it does exactly what it's supposed to do.

Patrick

Actions #24

Updated by Stefano Cecere almost 17 years ago

Hi patrink.. it's not really "broken".. i see just a 400px empty vertical space between the records list and the button..

anyway later i try with your new patches!

thanks
s

Actions #25

Updated by Christoph Koehler almost 17 years ago

I'd like to add the File -> Filelist to that list. Working on the patch today.

Actions #26

Updated by Patrick Broens almost 17 years ago

Hi Christoph,

Yeah, the plan is to add the docheader to other modules as well. But the first step has been made :-)

Actions #27

Updated by Christoph Koehler almost 17 years ago

I am just saying I will work on the file list part :) It can be for beta2 if you want to push out beta1 fast, just saying I will work on that today.

Actions #28

Updated by Patrick Broens almost 17 years ago

Docheader has been committed to trunk for the latest patches.

@christoph -: Could you please make another RFC in the bugtracker for the file module? Otherwise this RFC is getting too big and covers too much. Add only RFC for the list module, please

Thanks

Actions #29

Updated by Patrick Broens almost 17 years ago

Committed to trunk

Actions

Also available in: Atom PDF