[Rt-devel] RT 3.8.x different Web Stylesheets

Brumm, Torsten / Kuehne + Nagel / Ham MI-ID torsten.brumm at Kuehne-Nagel.com
Wed Apr 7 06:31:10 EDT 2010


Yes. my thoughts was to call from config the values for this, but i have no clue why it is not working.....

Torsten 


Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnetté, Mark Reinhardt, Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne



-----Urspruengliche Nachricht-----
Von: Agnislav Onufrijchuk [mailto:Agnislav.Onufrijchuk at portaone.com] 
Gesendet: Mittwoch, 7. April 2010 12:22
An: Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Cc: RT developers
Betreff: Re: [Rt-devel] RT 3.8.x different Web Stylesheets

Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote:
> 
> Any hints or suggestions?
> 
We've done this the following way:

~rt/local/lib/RT/Config_Local.pm:

our %META;
$META{'WebDefaultStylesheet'} =
     {
         Section         => 'General',                #loc
         Overridable     => 0,
         SortOrder       => 3,
         Widget          => '/Widgets/Form/Select',
         WidgetArguments => {
             Description => 'Theme',                  #loc
             Values => [qw(porta)],
         },
     };

~rt/etc/RT_SiteConfig.pm:

Set($WebDefaultStylesheet, 'porta');


But the way you've offered (themes list is set via RT_SiteConfig.pm) sounds better.

--
Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

   PortaOne Booth 812 @ ITW 2010
   International Telecommunication Week
   Marriott Wardman Park Hotel
   Washington, DC - May 24-26



More information about the rt-devel mailing list