[TYPO3-dev] 4.5 pagetree API to get page uids of all subpages of a page
Stefan Galinski
sgalinski at df.eu
Tue Mar 29 20:42:51 CEST 2011
Steffen Müller wrote:
> Hi.
>
> On 29.03.2011 18:57 Steffen Kamper wrote:
>>
>> First you could use the already existing localized label
>
> I'm new to ExtJS. How to use LLL in ExtJS?
>
> I can see there's
> TYPO3.Components.PageTree.LLL
>
> but what's the proper way to add new items via PHP to it?
>
Hi Steffen,
You should use the pagerenderer method "addInlineLanguageLabelArray" to add
existing language constants to the global "TYPO3.lang" object. Don't try to
extend the internal configuration and localisation object from the pagetree.
--
Stefan Galinski
staatl. geprüfter Informatiktechniker
More information about the TYPO3-dev
mailing list