[TYPO3-core] RFC: Extend TypoScript values

Kasper Skårhøj kasper2006 at typo3.com
Wed Feb 8 19:41:46 CET 2006


Correct document is "doc_core_ts" since that deals with the syntax  
level which is what you have modified.

That doc is now in "CoreDocs" module.

- kasper

"A contribution a day keeps the fork away"
-------------------------------
kasper2006 at typo3.com | +45 20 999 115 | skype: kasperskaarhoej |  
gizmo: kasper_typo3


On Feb 3, 2006, at 13:29 , Michael Stucki wrote:

> This is a CVS patch request.
>
> Problem:
> TypoScript properties cannot be changed unless they are completely
> redifined.
>
> Example:
> lib.mymenu.pidlist  20,21,22
>
> Adding more IDs is not possible without redefining the whole  
> property again:
> lib.mymenu.pidlist  20,21,22,23,24
>
> The same goes for removing elements:
> lib.mymenu.pidlist  22,23,24
>
>
> Solution:
> Introduce special properties that extend existing values.
>
> Example (compare with the above one):
> lib.mymenu.pidlist  20,21,22
> lib.mymenu.pidlist._addToList  23,24
> lib.mymenu.pidlist._remoeFromList  20,21
>
>
> Comments:
> - The feature was written by Ingmar and me during the snowboard tour.
> - We have added four methods (addString, removeString, addToList,
>   removeFromList) but more should be easy to implement.
> - We would like to add some kind of a hook to add more methods  
> dynamically
>   (but that follows later).
> - It works fine in regular TypoScript setup as well as in Page  
> TypoScript
>
>
> Documentation is still missing but I am not yet sure where it needs  
> to be
> added (will check with Kasper).
>
> Comments welcome.
>
> Regards, michael
> --
> Use a newsreader! Check out
> http://typo3.org/community/mailing-lists/use-a-news-reader/
> <changeProperties.diff>
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core




More information about the TYPO3-team-core mailing list