[TYPO3-ect] general config options in extension

Steffen Kamper steffen at sk-typo3.de
Thu Aug 23 12:01:08 CEST 2007


Hi,

I would like to discuss how to use config options in extensions.

Mainly every extension has it's own configuration array. This is not an easy 
task for the user to setup the extension, he has to go through all options 
and configure it.
But it could be more easy if general options are used.

Simple example: images
I find many extensions using something like

plugin.ext {
  singleView.image {
     maxW = xxx
     maxH = xxx
     ...
 }
}
and so on.

It would be more easy if all images take general config from 
tt_content.image like

plugin.ext.singleView.image < tt_content.image

Then the user has his general settings in constants for the whole site and 
the extension fits to it. If need special configuration could be added.
This could be done with many options like email-addresses, usergroups etc.

vg  Steffen 




More information about the TYPO3-team-extension-coordination mailing list