Hi, 

There is no strong requirement where to store JS and CSS files. My suggestion 
would be to keep them inside your module directory. Create out/src/js/ and 
out/src/css/ directories so it fit Shop structure and would be easier to debug 
for other people. You can use something like this to include your scripts in to 
templates:
[{oxscript include=$oViewConf->getModuleUrl("{moduleID}", 
"out/src/js/{js_fle_name}.js")}]

Saulius Stasiukaitis 
OXID Developer

-----Original Message-----
From: dev-general-boun...@lists.oxidforge.org 
[mailto:dev-general-boun...@lists.oxidforge.org] On Behalf Of Daniel 
Schlichtholz
Sent: Wednesday, March 20, 2013 3:41 PM
To: Oxid Dev-List
Subject: [oxid-dev-general] Images, Javascript and CSS files in modules

Hi list,

I want to create a module in Oxid 4.7.x that needs to add its own CSS-, 
Javascript- and Image-Files.
What is the best practise to do that?

-- 
Best regards,

Daniel Schlichtholz
Zu den Brauckstücken 5
58313 Herdecke

_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to