Zen Cart Logo
Forums / General Questions / Where to put css/js files?

Where to put css/js files?

Locked

Views: 1,353

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Mar 2008, 1:27 PM
#1
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Where to put css/js files?

Ok
So I was making changes to the search functionality and for that I needed to change a little of design too
I have one css file...styletest.css and one jsfile jscript_myfunctions.js

I placed the js file at
includes/templates/{template_directory}/jscript/

and css file at
\includes\templates\classic\css

All works well but when I tested the search, the output page was heavily broken
can someone tell me the idea way to handle this situation?

6 Mar 2008, 4:24 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Where to put css/js files?

The stylesheet and js file both need to be under the same template foldername, either /classic/ or /{template_directory}/, whatever that is.

7 Mar 2008, 1:35 AM
#3
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Where to put css/js files?

Thanks!