Kendra
|
| Posted: 04/14/2005, 4:53 AM |
|
I'm evaluating CCS and thinking about having my company purchase a copy for me. So far I find it to be phenomenal. I'm only using it for .ASP. I can see where this would make my life so much easier. 
Question: I modified some of the published files by hand to get exactly the look that I wanted in my test project. I modify both .ASP and .HTML files to change the include statements and to work with the setup I have here.
How can I get my hand-modified files back into CCS as a new project? I want to be able to use CCS and still hand-modify as needed. How do I get CCS to take my files back into the system as a new project?
Thanks,
Kendra
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 04/14/2005, 5:36 AM |
|
Kendra,
You cannot include .html and .asp files into other CCS project and get fully functional CCS page, i.e. you cannot open and edit it in CCS as other pages. CCS page is stored in .ccp and .html files, so if you copy that files to a new project it is recognized as a page.
About custom changes. When you edit HTML code keep in mind that you cannot modify HTML comments like <!-- BEGIN Grid Grid1 -->, <!-- END Grid Grid1 -->. They are used by generator to produce valid asp code. And template variables in curl brackets like {Label1}, they are substituted with real values in run time.
Also remember that modified code snippets are highlighted in white and are not overwritten during the page generation. That may cause some problems, e.g. new component added in Design mode works improperly. It is recommended not to edit code directly, but use CCS events.
E.g. you can switch between INCLUDE FILE and INCLUDE VIRTUAL directives by changing "#inclide type" under Site Properties.
_________________
Regards,
Nicole |
 |
 |
Kendra
|
| Posted: 04/14/2005, 6:00 AM |
|
Thanks Nicole. I was very careful not to change any of the CCS code in the HTML, etc. and my hand-modified files are working fine. I wonder if I just SelectAll and copy/paste the .ASP and .HTML code in its entirety into CCS if that will work. I see that you can work at the code level in CCS.
I'll give that a try and see what it generates. This is what I get from being a lifelong hand-coder with no WYSIWYG experience.
Kendra
|
|
|
 |
dsafar
|
| Posted: 04/18/2005, 9:42 AM |
|
Sorry, but that approach will not work. You will need to utilize the event
handling mechanisms built into ccs. Spend some time with the tutorials and
you'll get up to speed on how to code in the ccs environment. It's really a
productivity booster once you get the hang of it.
"Kendra" <Kendra@forum.codecharge> wrote in message
news:2425e6970b710e@news.codecharge.com...
> Thanks Nicole. I was very careful not to change any of the CCS code in the
> HTML,
> etc. and my hand-modified files are working fine. I wonder if I just
> SelectAll
> and copy/paste the .ASP and .HTML code in its entirety into CCS if that
> will
> work. I see that you can work at the code level in CCS.
>
> I'll give that a try and see what it generates. This is what I get from
> being a
> lifelong hand-coder with no WYSIWYG experience.
>
> Kendra
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|