CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 CCS: Separate folders for codes and html

Print topic Send  topic

Author Message
Nido
Posted: 06/25/2002, 9:50 AM

Platform: ASP 3.0 with templates (CodeChargeStudio)

While publishing... Is there a way to keep the scripts (asp pages) in separate folder then the html documents in CCS???

It's better to keep them separate for security under IIS.

All the inputs appreciated.

Nido.

Ronald
Posted: 06/27/2002, 12:49 AM

Nido,
for now you can copy .html files to separate folder on server. To make site work open each .asp file, find line:
HTMLTemplate.LoadTemplate ScriptPath & TemplateFileName
and modify it, e.g.:
HTMLTemplate.LoadTemplate ScriptPath & "Template_Folder\" & TemplateFileName

In PHP site you can open Template.php file, find variable that stores path to .html files
$this->templates_path
and modify its value.
Syed
Posted: 06/15/2003, 9:26 PM

I'm new to php ....

Can anyone pls provide sample on how to change the template.php file so that the code and html template file can be stored seperatedly in different folder

Thanks

   


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.