[TYPO3-dev] Hooks to add information to BE-login form

Peter Russ peter.russ at 4many.net
Wed Jan 13 15:01:12 CET 2010


--- Original Nachricht ---
Absender:   Xavier Perseguers
Datum:       13.01.2010 14:53:
> Hi,
> 
>> You know that there is $TYPO3_CONF_VARS['BE']['loginNews'] 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....
> 
> As idea for anyone who did not yet know about this a-bit-hidden feature, 
> I recently created a tiny php script that is referenced in localconf.php 
> and reads a .txt file in fileadmin. This .txt file contains the actual 
> "news", this way it's easy to manage without having to update 
> localconf.php itself.


Why update localconf.php?
Above example is just a snippet out of an extension. So the array could 
be feeded e.g. with  cached RSS-Feed or what ever.

Peter.

-- 
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