[TYPO3-ect] Draft: Proposal of a resultbrowser pipe
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Mon Sep 4 10:45:53 CEST 2006
Elmar Hinz schrieb:
> Martin Kutschker wrote:
>
>>>No. Defaults don't belong into PHP. If a setting is missing, there
>>>should be an informative message instead about it.
>>
>>I do not agree. IMHO it's sensible to provide defaults for minor options
>>(eg number of items to list, date formats etc).
>>
>>Masi
>
>
> Hi Martin,
>
> if they are defaults that means that they can be configurable by TS. If
> they are configurable by TS all the defaults can go into default TS. I
> think that is the place they belong to. So why put them into the code.
> There they only hide more informative error messages.
To me it makes sense to have a reasonable output even if the TS is not
present (eg "use current page id and show 3 items"). It's probably a matter
of taste if you think there should only be a warning instead of the default
view.
Masi
More information about the TYPO3-team-extension-coordination
mailing list