[TYPO3-dev] Changing BE styles
Kay Strobach
typo3 at kay-strobach.de
Mon Apr 4 17:56:15 CEST 2011
Hello Joel,
i used this one to drop version information and some text near the logo.
The logo ist completly replaceable with this ext.
Regards
Kay
Am 04.04.2011 17:18, schrieb Joel Peterson:
> Thanks for that!
>
> On Mon, Apr 4, 2011 at 10:41 AM, Steffen Müller <typo3 at t3node.com> wrote:
>
>> Hi.
>>
>>
>> On 04.04.2011 14:40 Joel Peterson wrote:
>>
>>> I have two similar sites each with their own installation of Typo3. What
>>> is the easiest way to modify the look of one of the backends so as to
>>> create
>>> a visual differentiation between the two?
>>>
>>
>> I have a simple extension which changes the logo in the top-left corner of
>> the backend:
>>
>> ext_tables.php:
>>
>> <?php
>> if (!defined ('TYPO3_MODE')) die ('Access denied.');
>> if (TYPO3_MODE == 'BE') {
>> $GLOBALS['TBE_STYLES']['logo'] = t3lib_extMgm::extRelPath('myext') .
>> 'logo.png';
>> }
>> ?>
>>
>> This is a bit quick&dirty, since the link is not changed and still points
>> to typo3.com
>>
>> --
>> cheers,
>> Steffen
>>
>> TYPO3 Blog: http://www.t3node.com/
>> Twitter: http://twitter.com/t3node
>>
>>
>> _______________________________________________
>> TYPO3-dev mailing list
>> TYPO3-dev at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>>
--
http://www.kay-strobach.de - Open Source Rocks
More information about the TYPO3-dev
mailing list