How do I change titles of pages attached to Dynamic Templates?

G

Guest

When I attach the pages on my web site to a Dynamic Web Template, all pages
titles are renamed with the DWT title. I have tried to leave the DWT Title
field empty and it gives a partial solution. All pages change their title to
the file name including the name of the folder they are in.

How can I make the title an editable area or how can I give each page its
own title without detaching them from the DWT?
 
J

Jeremy

Add the following code into the <head> of your .dwt file.

<!-- #BeginEditable "doctitle" -->
<title>Your Default Title</title>
<!-- #EndEditable -->

MVP Jim Buyens told me this on this newsgroup a few weeks ago....

Good luck
 
G

Guest

This works well if you never edit the dwt again. I did. Now I have to put the
titles back into 47 documents. Is there a way to keep the titles in existing
pages from being replaced with 'Your Default Title' when updating the
template?
 
T

Tina Clarke

Barb said:
This works well if you never edit the dwt again. I did. Now I have to put the
titles back into 47 documents. Is there a way to keep the titles in existing
pages from being replaced with 'Your Default Title' when updating the
template?

Then the coding must not have been correct .. can we see the site? or the
code your using? This works for me, so something must be wrong, did you for
example use a third party addon to view and CHANGE your titles?

Read the following.
snipped from http://www.outfront.net/tutorials_02/fp_techniques/dwt-2.htm

"ATTENTION - I have outlined further information under the below headings
you should pay particular attention to the Head Tags and Scripts if you want
to retain your keywords and description Meta tags and any scripts for each
page.
~ Head Tags ( doctitle )
FrontPage will, by default add the following code to the title tag in Code
View.

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

<title>Page Title Here</title>

<!-- #EndEditable -->

Copy the editable code in Code View and encase it around the Keywords and
Description Meta tags, it should look like the following.

<!-- #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 -->

This will preserve keywords and descriptions you ALREADY have in place on
your pages. If you want to change your title, keywords or descriptions you
can right click on the page and choose Page Properties or go to Code View
and do it manually.

WARNING: With a page that has a DWT attached you must not use FrontPage Meta
Tag addons to APPLY your tags, as they will change the editable regions
coding of the meta tags and the FrontPage DWT will assume you are trying to
change this and ask you to save or restore. You want to in fact keep your
original code with the editable meta tags around the meta's. Of course you
can use the Addons as a tool and copy and paste meta tag to code view or in
page properties General Tab for each Meta. The developers know about this
problem and are working to provide updates."

Tina
Tip now out is: Do you know how to Sort Text In A Table with FrontPage?
http://frontpage-tips.com/ - FrontPage Tips
They are primarily for FrontPage 2003 but will be good
for earlier versions too.
 

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

Top