[TYPO3-dev] Hooks to add information to BE-login form
Peter Russ
peter.russ at 4many.net
Wed Jan 13 15:08:40 CET 2010
--- Original Nachricht ---
Absender: Matthias Stübner
Datum: 13.01.2010 14:59:
> Am Wed, 13 Jan 2010 13:59:34 +0100 schrieb Peter Russ:
>
>> You know that there is that takes
>> date, header and content, i.e.
>> array(
>> array(
>> 'date'=>$_EXTCONF['date'],
>> 'header'=>$_EXTCONF['header'],
>> 'content'=>$_EXTCONF['content'],
>> )
>> );
>>
>> So it's pretty easy to fill that with information. Ok the layout is
>> limited. BUT....
>
> Hi Peter,
>
> ...BUT you didn't read the article. The array is well knwon and used many
> time. But it is not about to statically fill that array, so it needs
> something like a hook to automate this.
>
> br Matthias
Statical????
How about this ;-)
$TYPO3_CONF_VARS['BE']['loginNews']
=phpFunctionCallToGetContentFromTYPO3InstalledAsAnExtensionUsingIndividualSetup();
Pretty straight and easy.
No Hook Required, no ux or similar, just plain TYPO3 ext Programming ;-)
Jf you want you could also do it as AJAX ....
--
loans that change lives http://www.kiva.org
_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ
More information about the TYPO3-dev
mailing list