Where is good plece to put JQuery? |
[eluser]evstevemd[/eluser]
I have simple question, Suppose I want to put my JS scripts and libraries in folder "JSLibs". Where in CI hierrachy do I drop it? How do I reference it in my view's [removed] ? Thanks
[eluser]KingSkippus[/eluser]
That's largely a matter of personal preference. Personally, I have a root-level directory structure like this: /media - /images - /css - /scripts - ... Then I exclude media from getting passed to CodeIgniter in my .htaccess file.
[eluser]evstevemd[/eluser]
[quote author="KingSkippus" date="1279654096"]That's largely a matter of personal preference. Personally, I have a root-level directory structure like this: /media - /images - /css - /scripts - ... Then I exclude media from getting passed to CodeIgniter in my .htaccess file.[/quote] Thanks. I was confused on whether to put in CI directory or root. I wanted an example from one actually using it!
[eluser]gigas10[/eluser]
Code: /
[eluser]evstevemd[/eluser]
[quote author="gigas10" date="1279657281"] Code: / does / represent the system DIR?
[eluser]Juan Velandia[/eluser]
Perhaps this thread will help you a lot! (I't helped me) http://ellislab.com/forums/viewthread/125687/ Regards!
|
Welcome Guest, Not a member yet? Register Sign In |