Can I only create an editable region in the "body" of a HTML template? I want to make the "title" of the template editable. When I highlight either the "title" tags or content of the tags and insert,
Template Objects, Editable Region, the editable region tag is placed after the "body" tag. Your help will be greatly appreciated.
You can only create editable regions in the body of a page using DW's User interface. You can certainly manually put editable regions anywhere in the template file you want. But first, let's see the code on your template page, so we can answer the question of why your template does NOT have this region that it normally does have when it's created.
Murray,
I have a similar problem. I wish to make the entire background (which I set up in the CSS "Page Properties") editable so that for some of the pages I create from the original template can have different page background colours or images. How do I manually put in these editable regions?
Your help would be GREATLY appreciated.
Thank you,
Hi Murray,
I have created a new template from previous versions of the original template. When I tried to create an editable region (on the new template) this error message ("The selection is already an editable, repeating, or optional region") appeared although there is no other template markup on this document. Is DW4 confused over the id of the previous template ? I tried changing the id but no result. And this error appears on other tags that I wish to make editable.
Appreciate your help.
Thank you
Although this page states that there are three ways to add an editable region to your template page, there are only two:
1. Use Insert > Template Objects > Editable Region
2. Use the Common tab/category of the Insert bar/panel to select Templates > Editable Region
Dreamweaver no longer has a "Templates" option from the rightclick (ctrlclick) context menu!
Hi Murray,
When I said DW4, what I really meant to say was DW CS5.5 which is what I am using. I have virtually no knowledge of HTML, in other words I am a WYSIWIG user. I am putting the finishing touches on my site (LONG overdue) and am hoping to have it up very soon, It's up in beta if you would like to look at it. My current struggles are how to change the background colour and justification in certain cells of embedded templates and also how to change the number of columns relative to my Mater Template for my Home Page; I am hoping you can help again as your help last time was invaluable.
Thank you,
Malene
THank you Murray. Yes, I really should learn at least rudimentary HTML. I will get on that soon. In the iterim, below is the code from the derived template for which I want to change the cell background colour. I have marked the font in red the specific location that I need to do this.
Also, here is a link to the site in beta version, in case that helps:
http://osgoodesociety.lawlib.utoronto.ca/
<table width="930" height="53" border="0" align="center" cellpadding="5" cellspacing="10" class="generaltableformat" all sidebar cells bg colour="">
<tr>
<td width="40%" height="11" align="center" valign="top"><p><!-- InstanceBeginEditable name="Sidebar 1" -->Image 340 x 475<!-- InstanceEndEditable --></p>
<!-- InstanceBeginEditable name="Sidebar 1 Text" -->
<h3> </h3>
<!-- InstanceEndEditable --></td>
<td width="60%" rowspan="2" valign="top" bgcolor="#EBE5D9"><!-- InstanceBeginEditable name="General Header" -->
<h2>Title</h2>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="General Body Text" -->
<p>edited by <a href="file:///C:/Users/Beth/Documents/Author _Biographies/Swainger_Jonathan.htm">Author</a>, Publishing Details </p>
<p>Blurb</p>
<p><strong>Reviews</strong></p>
<blockquote>
<p>Misc. Reviews</p>
</blockquote>
<p> Reviews of<strong><em> Title</em></strong> have also appeared in the following publications:</p>
<blockquote>
<p>Other reviews</p>
</blockquote>
<!-- InstanceEndEditable --></td>
</tr>
<tr colour="#95847C">
<td height="0" valign="top" colour="#95847C"><div ice:editable="*"><!-- InstanceBeginEditable name="Sidebar 1A" -->
<h3>[change background colour in this cell]</h3>
<h3>Contents</h3>
<h3> </h3>
<!-- InstanceEndEditable --></div></td>
</tr>
</table>
Any help would be greatly appreciated.
Thank you,
Malene
OK - you have a fair amount of goofy stuff there. But to change the color of the text in that particular location, you could just change this -
<h3>[change background colour in this cell]</h3>
to this -
<h3 style="background-color:#AABBCC">[change background colour in this cell]</h3>
where #AABBCC is the 6-digit hex code for the color you want as the background of that <h3> tag.
North America
Europe, Middle East and Africa
Asia Pacific