dvdljns
Posts: 3
|
| Posted: 11/05/2006, 3:33 PM |
|
How do set the path for templates. I want to set my template path /workfolder/templates can someone show an example.
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 11/05/2006, 5:31 PM |
|
just type a directory path.
yours would be workfolder/templates
meaning:
I use "tpl"
that will create a directory tpl filled with the templates, as a subdirectory in you target (publish).
Be sure to set Project settings->Publishing->All files with................
at least once, to have everything created/published
Also do not fall in the trap I fell in once long ago, setting a template directory later on in the project and editing the HTML files in the server's"project root directory, leaving you wondering why no changes make it into production. (delete the root/.html)
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
dvdljns
Posts: 3
|
| Posted: 11/06/2006, 5:40 AM |
|
Boy they need to fix this forum. I already fell into the trap. Can I see the code that sets your path? Evan when I create a new project it is still dumpng all the files in one folder.
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 11/06/2006, 4:41 PM |
|
Code?
It is in Project Settings-> Server/Script
template folder
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
|