Changing Code in an Attached Web Page

As mentioned earlier in "Creating Dynamic Web Templates," any section of an attached page that is outside an editable region is protected. However, it is still possible to access the HTML source for protected areas of the page. When you do switch to a view of the HTML code for the page, any code outside an editable region will be highlighted as shown in Figure 20.13.

Figure 20.13. Code that exists outside editable regions is highlighted in Code view.

graphics/20fig13.jpg

If you change any of the highlighted code, FrontPage will display the Dynamic Web Template Alert dialog (see Figure 20.14) warning you that you have made a change to a non-editable region and informing you that it will be changed back the next time the page is updated.

Figure 20.14. The Dynamic Web Template Alert dialog will warn you if you make changes outside an editable region.

graphics/20fig14.gif

You have two choices at this point:

  • Always restore non-editable content while editing this page FrontPage will always restore any changes you make to non-editable regions, and you will no longer be prompted when changing code in non-editable regions.

  • Keep all changes FrontPage will keep the change that you made, but the next time you update this page, the settings from the Dynamic Web Template will be reapplied. If you don't want this to happen, you can check the Detach from Dynamic Web Template box.

graphics/troubleshooting_icon.jpg

If you are editing a page and you encounter a dialog telling you that your change cannot be applied because it is locked by a Dynamic Web Template, see "Cannot Modify an Editable Region Because It's Locked" in the "Troubleshooting" section of this chapter.




Special Edition Using Microsoft Office FrontPage 2003
Special Edition Using Microsoft Office FrontPage 2003
ISBN: 0789729547
EAN: 2147483647
Year: 2003
Pages: 443

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net