[TYPO3-dev] Using typoscript configuration in your plugin

Franz Holzinger franz at fholzinger.com
Wed Jun 7 12:24:16 CEST 2006


Robert John de Stigter a écrit :
> In this case the plugin did debug it but wasn't overridden by
> typoscript. Also the documentation (typo3 core) says using
> ext_typoscript_setup.txt has deprecated but it's not very clear on how I
> should do it than.
>  
You can replace this by a static folder in your extension and the files
constants.txt and setup.txt.


However I hope someone can help here what to do in this case:

In the setup file you have:

  limit = {$plugin.tt_products.limit}

However when there is no limit in the constants file, then the value for
limit is taken as '{$plugin.tt_products.limit}'. This is bad. It should
be an _empty string_ in this case.

Which function call did I miss or how should this be improved in the future?


Greets,

Franz




More information about the TYPO3-dev mailing list