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

 Using Subfolders in CodeCharge

Print topic Send  topic

Author Message
Ash57
Posted: 02/15/2002, 1:41 PM

Is it possible to store pages in sub folders using CodeCharge instead of having a long list of pages in one folder? Or am I just missing something?

Thanks.
Alex Alexapolsky
Posted: 02/16/2002, 4:27 AM

The whole CC works so that all files are in the same folder.
You can fix it all manually
alessandro
Posted: 02/17/2002, 1:40 AM

I have the same problem.
I work with PHP and template and to bypass this problem I make 3 script for restructure the folders. For now only the *.inc file must stay in php folder.
If you want to use.......

==== the main ====
====>CCscript.sh
#!/bin/bsh
# $1 = new directory prefix
grep -L SEDED *.html | xargs -i ./CCsed_c_html '{}' temp'{}' $1
grep -L SEDED *.php | xargs -i ./CCsed_c_php '{}' temp'{}' $1
mkdir ./$1template_html
mkdir ./$1css
mkdir ./$1php
mkdir ./$1inc
mv *.html ./$1template_html/
mv *.css ./$1css/
mv *.php ./$1php/
mv *.inc ./$1inc/

====>CCsec_c_html

sed -e s/'rel="stylesheet" href="'/'rel="stylesheet" href="..\/'$3'css\/'/ $1 > $2
sed -e s/'content="YesSoftware'/'content="SEDED YesSoftware'/ $2 > $1
rm $2

====>CCsed_c_php

sed -e s/'template_filename = "'/'template_filename = "..\/'$3'template_html\/'/ $1 > $2
sed -e s/'footer_filename = "'/'footer_filename = "..\/'$3'template_html\/'/ $2 > $1
sed -e s/'header_filename = "'/'header_filename = "..\/'$3'template_html\/'/ $1 > $2
sed -e s/'Filename:'/'SEDED Filename:'/ $2 > $1
rm $2

   


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.