[TYPO3-dev] TypoScript constants get lowercased
Francois Suter
fsuter at cobweb.ch
Tue Mar 14 22:05:04 CET 2006
Hi all,
I am developing an extension where I need to access the template setup
for the extension from the backend. I found code for this in this
mailing list.
The extension uses some constants, like
plugin.myextension.someDefaultValue = SomeCamelCaseText
which are used in the default setup as
plugin.myextension.someValue = {$plugin.myextension.someDefaultValue}
When I look this up in the TypoScript Object browser, everything is
fine, the "someValue" value is "SomeCamelCaseText".
But when I retrieve this value in the backend (by creating a
t3lib_TStemplate object and assembling it following the page's
rootline), I get the value as "somecamelcasetext". All lowercase.
Now if the value in defined in the setup of the template as
plugin.myextension.someValue = SomeCamelCaseText
I retrieve it with case intact.
Does anyone have an idea why my default setup would be converted to
lowercase? This is quite embarrassing since this value is case-sensitive
(it is actually a URL).
Thanks for any hint
------
Francois Suter
Cobweb Development Sarl
More information about the TYPO3-dev
mailing list