ertuncb
Posts: 1
|
| Posted: 05/10/2008, 1:31 AM |
|
I have a template file (site_teamplate.ccp) created in the root folder with some includes inside. The include files are in the '/myincludes' folder.
I am using the site_teamplate.ccp file as the 'New Page Template' in the 'Project Settings->General Settings'.
When I create a new page in the root folder, everything is fine; the new page is created using the site_teamplate.ccp.
When create a new page in a subfolder (like /admin), the new page is created with the site template 'site_teamplate.ccp'. But the code generated for the newly created page tries to include the include files from the sub folder /admin/myincludes. It’s not using the path of the original include (/myincludes) defined in ‘site_template.ccp’.
I got a code generation warning like ‘Warning: IncludePage incl_contentleft_loggedin: Page 'C:\My Documents\CodeChargeStudio Projects\ admin\myincludes\incl_contentleft_ loggedin.ccp' does not exist.’
One solution may be is to create a copy of the /myincludes folder under the /admin folder. But in my opinion, this is not the correct solution.
Does anyone have a suggestion?
(using CCS 4.00.00.4 with PHP5)
Bahri
|
 |
 |
|