Skip navigation
Currently Being Moderated

Creating editable regions in templates

Aug 28, 2012 1:12 PM

 
Replies
  • Currently Being Moderated
    Aug 28, 2012 1:19 PM   in reply to Community Help

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 28, 2012 2:16 PM   in reply to seh15

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 29, 2012 5:00 PM   in reply to MurraySummers

    Hi Murray,  Your advice fixed my problem with the description not being editable..

     

    Thanks,

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 31, 2012 8:30 PM   in reply to MurraySummers

    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,

     

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 1, 2012 5:22 AM   in reply to MaleneDK

    See my response in your other thread!

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 1, 2012 8:31 PM   in reply to Community Help

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 2, 2012 4:55 AM   in reply to DWTemplate

    When you say DW4 do you really mean DW4 or is it DWCS4?  There's about a 10-year separation between the two!

     

    Can you show us your page and its code, please?  A link to the new template page would be best.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 28, 2013 7:03 AM   in reply to Community Help

    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!

       

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 28, 2013 7:12 AM   in reply to MurraySummers

    Actually the missing third element would be to add the necessary markup manually.

     

    That's all there is.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 15, 2013 10:12 AM   in reply to MurraySummers

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 15, 2013 10:19 AM   in reply to MaleneDK

    in other words I am a WYSIWIG user.

     

    That's unfortunate.

     

    Ask questions, and since all answers depend on your code, show us code. I'll be glad to help as much as I can.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 15, 2013 10:37 AM   in reply to MurraySummers

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 15, 2013 11:03 AM   in reply to MaleneDK

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points