[Typo3-dev] how to extend _Typoscript_ itself
tapio
tapio.markula at dnainternet.net
Wed Sep 7 19:16:06 CEST 2005
Christopher wrote:
> Hi,
>
>>But what possibilities in general is to extend
>>TypoScript?
>
>
> Generally speaking? By modifying the core
> (tslib/class.tslib_content.php).
But it supports just partial XCLASS.
I can't extend 'class tslib_cObj' or any other class
becaus there is no class starting with 'SC_'.
Is there then a way to add new TS without modifying that file but just
writing some new TS defining a file for this key:
$TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['tslib/class.tslib_content.php']);
Anyway I have a small problem with new TS Config options.
A parter of me had used Mambo and he has in FE editing just two buttons
('Save and Close' and 'Close') and she doesn't like some much buttons in
FE Editing as Typo3 uses.
I made *full* and *independent* button control for 'alt_doc.php' -
everyone can have *exactly* the button set, which he wants.
I put just new TS Control at this way no
mod.xMOD_alt_doc{
disablePathInfo=0
panelFEdisableSave=0
panelBEdisableSave=0
It would be nicer, if the button could have subvalues like
panelFEdisableButton.save=0
But how to create a condition for that
if(isset($_GET['noView']) &&
$this->modTSconfig['properties']['panelFEdisableButton']['save']==0)
didn't work.
But, you may be interested in this
> interesting alternative:
>
> http://typo3.org/extensions/repository/search/obts/
>
> -Christopher
More information about the TYPO3-dev
mailing list