[TYPO3-dev] TYPO3 Wizards

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Jan 10 17:11:01 CET 2008


Steffen Kamper wrote:
> indirect - but with a sysext that is installed by default and shy and can't 
> be deinstalled (like sv)

In my opinion this conceot is wrong. Core depends on extension. Nonsense :( It exists in core for historical reasons but this is not the reason to add new dependencies like this.

> My idea is only to seperate the wizards and using own configuration file, 
> may be also possible to set configuration via TS.

Why cannot you make them a part of the core but not a sysext? Make a folder inside typo3 called wizards and move them there. What are disadvanntages of this approach?

What configuration file do you want to have for wizards?

> This is kind of brainstorming, and it's not for former T3 versions (4.2+). 
> So I try this first. I saw that it's easy from ext without changing 
> something in core, eg i put this in my ext_tables:
> $TCA['tt_content']['columns']['bodytext']['config']['wizards']['table']['script']='sysext/wizards/classes/class.sc_wizard_table.php';

$TCA['tt_content']['columns']['bodytext']['config']['wizards']['table']['script']='EXT:wizards/classes/class.sc_wizard_table.php';

And it will be compatible with previous versions: if there is EXT, load from extension, otherwise use file in typo3/.

> So i don't make any changes now to parameters, i only try how this works. 

No problem :) Try to make such extension. May be our approach is better than existing. We can tell only when it is ready for comparing.

> The old files could stay for compatibility reasons.

...and be wrappers for files somewhere else?

> When i get some results i will show you the ext, may be it's a good thing 
> for extending the wizards.

Great!

> If you (or others) have a better idea please let me know.

May be existing wizards can first look for their extensions (similar to XCLASS way) and use such extensions if exists.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"




More information about the TYPO3-dev mailing list