After I modified the page, when I try to save it, it let me save it but I get a msg says something like "The contents of a Frontpage component has been modified.These contents will be overwritten when you save this page"
But when I open the page, the changes didn't affect. I still got the same old page.
Can someone please explain me why frontpage does this?
webbots in frontpage are internal uhm .. bookmarks, for FP to use to remember where something is from like an include like that, refrences the virtual location of the included file and if the included file is modified, then FP extentions will update all pages with the webbots that refer to the include...
basically webbots are the internal handlers for FP to keep track of what you/it's doing.
and if you modify a page with a webbot in it, more than likely frontpage wont like it, OR you'll break the page off from the standard 'auto-update' ability of FP
once you've modified the webbots the pages are 'broken' they still might work but FP wont like them anymore
best thing is to strip everything between the webbot tags, then rebuild the page in FP putting the includes BACK in again, then do the editing inside of frontpage via it's html editor, less chance of damage that way.
the webbot tags are easy to find in a file, they have a distinct start and end point, all encased in HTML comment tags <!-- webbot blah start --> and <!-- webbot blah end -->
make backups first
just strip these tags and what's between them( make sure you are getting the matching pairs instead of getting webbot 1 start and clearing to webbot2 end ( taking out other page code with them ))
after the cleanup save the cleaned out file, and remove the archive/change file made by FP i think stored in the _private folder it will have the exact same name as the edited file, so wont be hard to find
then open the cleaned up file in front page and re-add your web includes to repair the file back to the point of original modification.
and when working with a frontpage enabled and FP maintained website, before any changes always make backups it's not difficult at all to mess things up for FP
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.