Feature #28384

Add ExtJS Xtype for BE Modules

Added by Kay Strobach almost 2 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2011-07-22
Priority:Should have Due date:
Assignee:- % Done:

100%

Category:-
Target version:4.5.4
TYPO3 Version:4.5 Complexity:easy
PHP Version:5.2
Votes: 0

Description

There should be an xtype which allows us to generate nice looking be modules very easy.

Current normal panels simply look ugly.

This feature is needed for nice looking cards with the cardlayout.

cards.zip - example extension with js and css .. :) (24.5 kB) Kay Strobach, 2011-07-22 15:16

22-07-2011_15-14-33.png - current state (47.2 kB) Kay Strobach, 2011-07-22 15:16


Related issues

related to Core - Feature #32309: Allow native ExtJS Modules in ContentArea Resolved 2011-12-05
related to Core - Task #28590: Backport some changes for 4.6 to 4.5 as discussed before ... Rejected 2011-07-30
follows Core - Feature #12664: Idea about faster loading modules Closed 2011-01-31

Associated revisions

Revision 4251c752
Added by Kay Strobach almost 2 years ago

[FEATURE] Add ExtJS xtype:modulepanel for BE Modules

This is a follow up change to #12664.
It adds a new Extjs xtype called modulepanel and the required styles.

This way we can have extjs modules which fit the TYPO3 look'n'feel.

The CSS modifies the tbar and the bbar to look like the standard
toolbars in TYPO3.

4.5 is added to releases, as #12644 is the direct parent.

Change-Id: I596962fc81e66368db06059447b2f6a09db4ff73
Resolves: #28384
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3696
Reviewed-by: Georg Ringer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper

Revision b9af0ca0
Added by Kay Strobach over 1 year ago

[FEATURE] Add ExtJS xtype:modulepanel for BE Modules

This is a follow up change to #12664.
It adds a new Extjs xtype called modulepanel and the required styles.

This way we can have extjs modules which fit the TYPO3 look'n'feel.

The CSS modifies the tbar and the bbar to look like the standard
toolbars in TYPO3.

4.5 is added to releases, as #12644 is the direct parent.

Change-Id: I57e51eb11b57889b4c434f13b658ca464a03a041
Resolves: #28384
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/7128
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer

History

Updated by Kay Strobach almost 2 years ago

most of the code can be taken from the panel over the pagetree:

some css

#typo3-pagetree .x-panel-tbar {
  background-color: #585858;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAABCAYAAAAb4BS0AAAAGElEQVR42gENAPL/AEBAQExAQECzQEBA/xb3BD8CHBN0AAAAAElFTkSuQmCC");
  background-position: right;
  background-repeat: repeat-y;
  border: none;
  padding: 0;
  margin: 0;
}

example of definition:

  {
    xtype: 'modulepanel',
    tbar: {
      //some buttons on left
      '->',
      //some buttons on right
    },
    //other config
  }

Updated by Kay Strobach almost 2 years ago

Updated by Kay Strobach almost 2 years ago

current state

Updated by Tolleiv Nietsch almost 2 years ago

  • Status changed from New to Needs Feedback

Sounds valid to me. Would you mind creating a patch and send it to Gerrit? What kind of feedback is missing for you to get this done?

One thing which might not be possible is to add it to 4.5.x ... but that's imho more or less up to Ernesto

Updated by Kay Strobach almost 2 years ago

hi tolleiv - i will make a patch soon (definitly before feature freeze)...

@4.5 as the cardlayout should be backported to 4.5.x this feature has to be backported too, as it is higly dependend on the cardlayout.

Otherwise most of the new modules won't work in 4.5 or look really ugly :(

Regards
Kay

Updated by Mr. Hudson almost 2 years ago

Patch set 1 of change I596962fc81e66368db06059447b2f6a09db4ff73 has been pushed to the review server.
It is available at http://review.typo3.org/3696

Updated by Mr. Hudson almost 2 years ago

Patch set 2 of change I596962fc81e66368db06059447b2f6a09db4ff73 has been pushed to the review server.
It is available at http://review.typo3.org/3696

Updated by Mr. Hudson almost 2 years ago

Patch set 3 of change I596962fc81e66368db06059447b2f6a09db4ff73 has been pushed to the review server.
It is available at http://review.typo3.org/3696

Updated by Mr. Hudson almost 2 years ago

Patch set 4 of change I596962fc81e66368db06059447b2f6a09db4ff73 has been pushed to the review server.
It is available at http://review.typo3.org/3696

Updated by Mr. Hudson almost 2 years ago

Patch set 5 of change I596962fc81e66368db06059447b2f6a09db4ff73 has been pushed to the review server.
It is available at http://review.typo3.org/3696

Updated by Kay Strobach almost 2 years ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF