CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Problems in 'New Page Template' with includes. Includes could not be found.

Print topic Send  topic

Author Message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.