DWT & Meta tags for individual pages

G

Guest

I have a website with a DWT linked to all pages, but when I am creating the
keyword meta tags for each individual page, in the non-editable area, FP
allows me to save the changes, independenty from the DWT. BUT on the one
page, I accidentally clicked over the command "always restore non-editable
content when editing the page" instead of "keep all changes" which means I
now cannot change anything in the non-editable area.
Surely there is a way to turn this off or get around it? Thanks for any
suggestions!
 
W

Windsun

Just make those sections editable regions in the DWT:

<!-- #BeginEditable "doctitle" -->

<title>Page Title Here</title>

<!-- #EndEditable -->

<!-- #BeginEditable "keywords" -->

<meta name="KEYWORDS" content="site keywords here">

<!-- #EndEditable -->

<!-- #BeginEditable "description" -->

<meta name="DESCRIPTION" content="site description here">

<!-- #EndEditable -->
 
M

Murray

Put an editable area in the template specifically for such content, e.g.,

<!-- #BeginEditable "doctitle" --><title>whatever</title><!--
#EndEditable -->
<!-- #BeginEditable "metaTags" --><!-- #EndEditable -->

The doctitle editable region was included above to give you context. The
metaTags region would be the one you would add to the DWT file. This would
then propagate to the child pages, and allow you to enter unique content on
each.
 
P

Paul M

Thanks Murray
This one has been annoying me for a while too but I thought that it was a
downside of using templates
Paul M
 
M

Murray

Nope - in fact, there is nothing that would prevent you from adding your
meta tags directly into the existing doctitle editable region (other than
aesthetics).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top