DemptD |
|
---|---|
what is it for?
rc.php... |
Kilandor |
|
---|---|
Well to use it requires htaccess rules basicly, what its for is so links still work say to images/css/swf or whatever, thats not web accessible it read the file and outputs it back out just like it was really in a web folder.
Its usefull for people if they decide to share plugins across multiple sites. |
Trustmaster |
|
---|---|
Besides that it does 2 things:
May the Source be with you!
|
foxhound |
|
---|---|
Sorry to dig up an old thread but in relation to this:
[quote]Compresses JS/CSS files with GZIP[/quote] <script type="text/javascript" src="themes/nemesis/js/jquery-1.7.1.min.js"></script> <script type="text/javascript" src="themes/nemesis/js/jquery.easing.1.3.min.js"></script> <script type="text/javascript" src="themes/nemesis/js/jquery.wt-rotator.min.js"></script>
which works (the slider using this javascript). cot_rc_add_file('themes/nemesis/js/jquery-1.7.1.min.js'); cot_rc_add_file('themes/nemesis/js/jquery.wt-rotator.min.js'); cot_rc_add_file('themes/nemesis/js/jquery.easing.1.3.min.js'); I am really lost and do not see what I am doing wrong if my above assumption is not correct.
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
GHengeveld |
|
---|---|
Correct. You should not use minified javascripts with rc_add because it may cause problems (not always). It's best if you just download the original js source, use that instead and let Cotonti handle the minification. |
|
This post was edited by GHengeveld (2012-08-13 13:50, 12 years ago) |
foxhound |
|
---|---|
Thanks for the confirmation. I can stop banging my head now. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Kingsley |
|
---|---|
#35132 GHengeveld: Well, this sheds some light on some of my 'problems'... thankssssssss
|
elfrenazo |
|
---|---|
I'm using it without problems, and have many scripts |