[TYPO3-ect] [tx_lib] is it a bug ?

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Tue Jul 10 00:15:56 CEST 2007


Fabien Udriot wrote:

> Hi Elmar !
> 
> I looked in bananas but didn't find how do you get a value from a
> constant. Could you point me, please, the file where I can find the
> example.
> 
> merci :)
> 
> Fabien
> 

Hi Fabien, 

there is nothing special to do. It's the regular TS mechanism. See:

http://typo3.org/extensions/repository/view/bananas/0.0.6/info/configurations%252Fsetup.txt/

You find lines like this:

plugin.tx_bananas.controllers.form < plugin.tx_bananas.configurations

Here I copy the configuration to the path of the form.

You can use the constants in the normal way. Example:

plugin.tx_bananas.configurations.maximalItemsToDisplay  =
                      {$plugin.tx_bananas.maximalItemsToDisplay}


Regards

Elmar












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