materix
Posts: 161
|
| Posted: 03/24/2006, 1:23 PM |
|
I have messed up some auto-generated code (originally highlighted in blue) by changing it (now marked in white).
Now I want it back to default, but I can not remember all the changes that I have done.
Is there any way to restore the autogenerated code?
|
 |
 |
roeya
Posts: 181
|
| Posted: 03/25/2006, 11:13 PM |
|
BACK YOUR PROJECT BEFORE YOU TRY !!
Try tihs:
1. Backup your project so if something goes wrong you'll have where to go back.
2. Go to the project directory and delete the generated code file:
if your page is called test.php then delete the test.php & test_events.php (if you have one). Do not touch the HTML & CCP files,
important note:
You should delete the files in your project not in the published location
3. Regenrate the page.
If you have changed the code in the Common Files then delete them.
I asumed you use PHP but if you use something else the same technique should apply , However:
BACK YOUR PROJECT BEFORE YOU TRY !!
Good luck hope it will help
_________________
http://www.infoneto.com/ |
 |
 |
Stealth
Posts: 2
|
| Posted: 03/27/2006, 6:02 AM |
|
IIRC, you can just remove the block with startting and ending comment and it'll be regenerated. Or you can delete all content of code file (Ctrl-A - Del) and the whole page will be regenerated.
|
 |
 |
|