Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Moving the templates folder

Moving the templates folder

Views: 431

Results 1 to 1 of 1
16 Sep 2011, 8:34 AM
#1
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Moving the templates folder

Something that annoys me with Zencart is having the templates folder in the /includes folder. Its just one extra annoying step in my editor to navigate down to the template files.

So I tried moving it to the root... IT WORKED!

Updated the following in the config:

define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

to

define('DIR_WS_TEMPLATES',  'templates/');

Don't know if there are any side effects yet.