Jack
|
Posted: 10/09/2002, 1:55 AM |
|
Hi :
I am a newbie for codecharge. I tried this software and found it's
useful. The question I wondered is that After I generate pages, how can I
customized the pages I created. If I'd like to insert some codes that can't
be generated by codecharge. Should I edit the pages outside codecharge by
myself. If I do so, could I regenerate pages and keep the codes what I
change. And how about change html files?
Any idea to this topic is appreciated. Thanks
Jack Wang
|
|
|
Stefan Hogedal
|
Posted: 10/17/2002, 11:26 PM |
|
Here are a couple of solutions:
1. Put customised application code in one of the events handlers or learn to
use the "Custom sections"
2. Put customised HTML in any of the Headers&Footers sections
3. If you change the HTML files manually you can either check the "Don't
generate HTML" in the form properties or use a new name for the file and
reference it by setting the sTemplateFilename variable (ASP). Here is a code
snippet that could be used to verify that the changed file is present (the
original file is News.html):
Set myFSO = Server.CreateObject("Scripting.FileSystemObject")
if myFSO.FileExists(Server.Mappath("News_s.html")) then
sTemplateFileName = "News_s.html"
end if
Set myFSO = Nothing
/Stefan
"Jack" <jack.wang@ever.com.tw> wrote in message
news:ao0qud$m12$1@news.codecharge.com...
> Hi :
> I am a newbie for codecharge. I tried this software and found it's
> useful. The question I wondered is that After I generate pages, how can I
> customized the pages I created. If I'd like to insert some codes that
can't
> be generated by codecharge. Should I edit the pages outside codecharge by
> myself. If I do so, could I regenerate pages and keep the codes what I
> change. And how about change html files?
> Any idea to this topic is appreciated. Thanks
>
>
> Jack Wang
>
>
|
|
|
|