Welcome Guest, Not a member yet? Register   Sign In
Where is good plece to put JQuery?
#1

[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
#2

[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.
#3

[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!
#4

[eluser]gigas10[/eluser]
Code:
/
- /css
- /images
- /js [Put my JQuery here]
- /system
- - /config
- - /controllers
- - /errors
- - /helpers
- - /...
- /user_guide
#5

[eluser]evstevemd[/eluser]
[quote author="gigas10" date="1279657281"]
Code:
/
- /css
- /images
- /js [Put my JQuery here]
- /system
- - /config
- - /controllers
- - /errors
- - /helpers
- - /...
- /user_guide
[/quote]
does / represent the system DIR?
#6

[eluser]Juan Velandia[/eluser]
Perhaps this thread will help you a lot! (I't helped me)

http://ellislab.com/forums/viewthread/125687/

Regards!
#7

[eluser]gigas10[/eluser]
no, /system represents the system directory.
#8

[eluser]evstevemd[/eluser]
Thanks for the Link. I will be there browsing




Theme © iAndrew 2016 - Forum software by © MyBB