<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Ruslan & Kevin,<div><br></div><div>Torsten<br><div><div>Am 07.06.2013 um 19:01 schrieb Ruslan Zakirov:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div style="">Hi,</div><div><br></div>Use methods in extensions. That doc you referenced is more for admins to do local and quick customizations. </div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jun 7, 2013 at 4:52 PM, Brumm, Torsten / Kuehne + Nagel / Ham GI-ID <span dir="ltr"><<a href="mailto:torsten.brumm@kuehne-nagel.com" target="_blank">torsten.brumm@kuehne-nagel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE" link="blue" vlink="purple">
<div><p class="MsoNormal"><span lang="EN-US">Hi Developers,</span></p><p class="MsoNormal"><span lang="EN-US">whats the best way to add custom css/js files from a plugin into RT?</span></p><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US">From customizing doc (</span><a href="http://bestpractical.com/rt/docs/4.0/customizing/styling_rt.html" target="_blank"><span lang="EN-US">http://bestpractical.com/rt/docs/4.0/customizing/styling_rt.html</span></a><span lang="EN-US">)
it is recommended to </span></p><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal" style="line-height:14.4pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">Set( @CSSFiles, ('my-site.css') );</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Courier New""></span></p><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US">But in many Extensions I find this way:</span></p><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US">RT->AddStyleSheets('module.css')</span></p><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US">RT->AddJavaScript("module.js");</span></p><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US">Called from the Extension::Module.pm</span></p><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US">Are both working the same way? Will both ways minified?</span></p><div><span lang="EN-US"> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US">Greetins</span></p><p class="MsoNormal"><span lang="EN-US"><br>
Torsten</span></p>
</div><p><br>
<font face="Arial" size="1">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</font></p>
</div>
<br><br>
<br>
--<br>
RT Training in Seattle, June 19-20: <a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.
</div>
<br><br>-- <br>RT Training in Seattle, June 19-20: <a href="http://bestpractical.com/training">http://bestpractical.com/training</a></blockquote></div><br></div></body></html>