
tbrumm at mac
Jun 7, 2013, 10:18 AM
Post #4 of 4
(152 views)
Permalink
|
Thanks Ruslan & Kevin, Torsten Am 07.06.2013 um 19:01 schrieb Ruslan Zakirov: > Hi, > > Use methods in extensions. That doc you referenced is more for admins to do local and quick customizations. > > > On Fri, Jun 7, 2013 at 4:52 PM, Brumm, Torsten / Kuehne + Nagel / Ham GI-ID <torsten.brumm [at] kuehne-nagel> wrote: > Hi Developers, > > whats the best way to add custom css/js files from a plugin into RT? > > > From customizing doc (http://bestpractical.com/rt/docs/4.0/customizing/styling_rt.html) it is recommended to > > > Set( @CSSFiles, ('my-site.css') ); > > > > But in many Extensions I find this way: > > > RT->AddStyleSheets('module.css') > > > RT->AddJavaScript("module.js"); > > > Called from the Extension::Module.pm > > > Are both working the same way? Will both ways minified? > > > Greetins > > > Torsten > > > Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Holger Ketz (Stellv.), Jan-Hendrik Köstergarten (Stellv.), Bruno Mang, Christian Marnetté, Jens Wollesen, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: Karl Gernandt > > > > > -- > RT Training in Seattle, June 19-20: http://bestpractical.com/training > > > > -- > Best regards, Ruslan. > > > -- > RT Training in Seattle, June 19-20: http://bestpractical.com/training
|