[TYPO3-dev] Changing BE styles

Joel Peterson joelasonian at gmail.com
Mon Apr 4 17:18:37 CEST 2011


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
>




More information about the TYPO3-dev mailing list