<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dreamweaver FAQ &#187; HTML</title>
	<atom:link href="http://www.digitalfamily.com/dreamweaverblog/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalfamily.com/dreamweaverblog</link>
	<description>Dreamweaver questions worth sharing, by Janine Warner</description>
	<lastBuildDate>Thu, 24 Jun 2010 07:30:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why can&#8217;t I edit the page title or add Behaviors and Spry to Template pages?</title>
		<link>http://www.digitalfamily.com/dreamweaverblog/2008/01/why-cant-i-edit-the-page-title-in-template-pages/</link>
		<comments>http://www.digitalfamily.com/dreamweaverblog/2008/01/why-cant-i-edit-the-page-title-in-template-pages/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 20:45:15 +0000</pubDate>
		<dc:creator>janinewarner</dc:creator>
				<category><![CDATA[Behaviors]]></category>
		<category><![CDATA[Dreamweaver CS3]]></category>
		<category><![CDATA[Dreamweaver MX]]></category>
		<category><![CDATA[Dreamweaver MX 2004]]></category>
		<category><![CDATA[Search Engine Optimization (SEO)]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[editable region]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[page title]]></category>

		<guid isPermaLink="false">http://www.digitalfamily.com/dreamweaverblog/?p=29</guid>
		<description><![CDATA[Janine,
First, your video training for Dreamweaver CS3 is great. It got me started with CSS and while I am still learning it really gave me a good jump start into this complex area.

I learned the template creation and love it but I think I missed something, using a template to create a new page I [...]]]></description>
			<content:encoded><![CDATA[<p>Janine,</p>
<p class="MsoPlainText">First, your video training for Dreamweaver CS3 is great. It got me started with CSS and while I am still learning it really gave me a good jump start into this complex area.</p>
<p class="MsoPlainText">
<p class="MsoPlainText">I learned the template creation and love it but I think I missed something, using a template to create a new page I find I am unable to change the document title. I suppose it is not an editable region? How do you make it possible to edit the document title on templates?</p>
<p class="MsoPlainText">Thanks,<br />
Chandler</p>
<p class="MsoPlainText">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p class="MsoPlainText">Hi Chandler,</p>
<p class="MsoPlainText">Thanks for your kind words about my videos. You ask a good question.</p>
<p class="MsoPlainText">When you create a new template in Dreamweaver CS3, 8, and previous versions, by choosing File&gt;New and then choosing HTML Template as the Page type, Dreamweaver automatically inserts code into the &lt;head&gt; region of the HTML, making it possible to edit the title, insert Meta tags, and Javascript features.</p>
<p class="MsoPlainText">If, however, you create a regular HTML page and then use Save As to save the file as a .dwt template, you&#8217;ll need to add the code to the head area of the template manually if you want to be able to edit the title, and Javascript features, or make other changes that affect this part of the HTML document.</p>
<p class="MsoPlainText">Note: In Dreamweaver CS4 this problem has been fixed and when you save a page as a template, this code is automatically added.</p>
<p class="MsoPlainText">To manually add the editable region code around the title section of a temple created from an HTML page, follow these steps:</p>
<p class="MsoPlainText">1. Open the .dwt file and choose Split or Code View so that you can see the code behind page.</p>
<p class="MsoPlainText">2. Find the Head section of the page &#8212; it should be toward the top of the page in the HTML code and should look like this:</p>
<p class="MsoPlainText">&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;/head&gt;</p>
<p class="MsoPlainText">3. Add the template code inside the head tags. If you&#8217;re not sure what that code should look like, just copy and paste the following to replace the entire head area in the HTML of the .dwt template file. (Alternatively, you can create a new  template file and just copy and paste the code from the head region of that file into your template.) Either way, it should look like this:</p>
<p class="MsoPlainText">&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243; /&gt;<br />
&lt;!&#8211; TemplateBeginEditable name=&#8221;doctitle&#8221; &#8211;&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;!&#8211; TemplateEndEditable &#8211;&gt;<br />
&lt;!&#8211; TemplateBeginEditable name=&#8221;head&#8221; &#8211;&gt;<br />
&lt;!&#8211; TemplateEndEditable &#8211;&gt;<br />
&lt;/head&gt;</p>
<p class="MsoPlainText">4. Save the .dwt template file and choose to apply the changes to all of the pages created from the template.</p>
<p class="MsoPlainText">Once you&#8217;ve done this, you should be able to open any of the pages created from the template and edit the title in the Page Properties dialog or by simply typing in a new title in the title field at the top of the workspace. This will also make it possible to add Javascript and other special features that require adding code to the head region of the page.</p>
<p class="MsoPlainText">Hope that solves your problem, and I wish you all the best with your Web site!</p>
<p>Janine</p>
<p>Still want more? Visit the Dreamweaver Help Center at <a href="http://www.DigitalFamily.com/dreamweaver" target="_blank">www.DigitalFamily.com/dreamweaver</a> to find Dreamweaver tips, tricks, and tutorials.</p>
<p class="MsoPlainText">
]]></content:encoded>
			<wfw:commentRss>http://www.digitalfamily.com/dreamweaverblog/2008/01/why-cant-i-edit-the-page-title-in-template-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
