[TYPO3-dev] Extensions' TS values are not visible with $conf

ktt kestutis98 at yahoo.com
Fri Aug 19 13:09:08 CEST 2011


Hello,

Thank you. I just didn't mentioned that it is a BE extension.
It seems there is a difference accessing TS setup in BE ext...
Maybe using 

t3lib_tsparser_ext

?

Regards,
Kast A.



----- Original Message -----
From: Peter Niederlag <typo3-list at niekom.de>
To: typo3-dev at lists.typo3.org
Cc: 
Sent: Friday, August 19, 2011 12:11 PM
Subject: Re: [TYPO3-dev] Extensions' TS values are not visible with $conf

Hello,

Am 19.08.2011 03:33, schrieb ktt:
[...]
>                          echo$conf['myvalue'];
>                          ...
> 
> but it is not visible. print_r($conf) works, but my extensions' value is not present there.
> In TS it is set

if 'myvalue' shows up in print_r($conf), then print_r($conf['myvalue']) MUST be there.

if ['myvalue.']['something'] shows up in print_r($conf) you must access it as $conf['myvalue.']['something'] (the dot makes the difference when accessing sub-values).

Greets and hth,
Peter
-- Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev





More information about the TYPO3-dev mailing list