Template: Adding Site Wide Code To Editable Region

I have a template
I have an editable region called content
I would now like to add a navigation bar within the editable region, so that it can be managed from the Template and thereon aplies to the child pages
Q:
How do I insert a site wide section within an editable region, which is only edited via the template, so that I can set up my navigation bar?
woolf

So, here's a sample page: http://www.gravenimagedesign.net/levnav/
Here's the template code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
#header {
     background-color: #333;
     height: 200px;
     width: 800px;
     position: relative;
     margin: 0 auto;
#header h1 {
     color: white;
#content {
     background-color: #FFC;
     height: 500px;
     width: 800px;
     margin: 0 auto;
     border: 1px solid red;
     position: relative;
#content h1 {
     color: red;
     text-align: center;
#apDiv1 {
     position:absolute;
     width:663px;
     height:115px;
     z-index:1;
     left: 63px;
     top: 438px;
     background-color: #FCF;
-->
</style>
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
     <div id="header"><!--begin header-->
       <h1>This header div is position: relative;</h1>
       <div id="apDiv1">
         <ul id="MenuBar1" class="MenuBarHorizontal">
           <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
             <ul>
               <li><a href="#">Item 1.1</a></li>
               <li><a href="#">Item 1.2</a></li>
               <li><a href="#">Item 1.3</a></li>
            </ul>
          </li>
           <li><a href="#">Item 2</a></li>
           <li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
             <ul>
               <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
                 <ul>
                   <li><a href="#">Item 3.1.1</a></li>
                   <li><a href="#">Item 3.1.2</a></li>
                </ul>
              </li>
               <li><a href="#">Item 3.2</a></li>
               <li><a href="#">Item 3.3</a></li>
            </ul>
          </li>
           <li><a href="#">Item 4</a></li>
        </ul>
         <p><br />
        This menu bar is <strong>position: absolute;</strong></p>
         <p>It is  nested in the code inside the &quot;header&quot; div (the dark grey one), which is positioned &quot;relative.&quot;</p>
      </div>
     </div><!--end header-->
     <div id="content">
       <!--begin content-->
       <!-- TemplateBeginEditable name="EditRegion3" -->
       <h1>This text (really an h1) is appearing within the div with id of "content"</h1>
       <!-- TemplateEndEditable --></div>
     <!--end content-->
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
    </script>
</body>
</html>
And here's a child page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/maintemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
#header {
     background-color: #333;
     height: 200px;
     width: 800px;
     position: relative;
     margin: 0 auto;
#header h1 {
     color: white;
#content {
     background-color: #FFC;
     height: 500px;
     width: 800px;
     margin: 0 auto;
     border: 1px solid red;
     position: relative;
#content h1 {
     color: red;
     text-align: center;
#apDiv1 {
     position:absolute;
     width:663px;
     height:115px;
     z-index:1;
     left: 63px;
     top: 438px;
     background-color: #FCF;
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body>
     <div id="header"><!--begin header-->
       <h1>This header div is position: relative;</h1>
       <div id="apDiv1">
         <ul id="MenuBar1" class="MenuBarHorizontal">
           <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
             <ul>
               <li><a href="#">Item 1.1</a></li>
               <li><a href="#">Item 1.2</a></li>
               <li><a href="#">Item 1.3</a></li>
            </ul>
          </li>
           <li><a href="#">Item 2</a></li>
           <li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
             <ul>
               <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
                 <ul>
                   <li><a href="#">Item 3.1.1</a></li>
                   <li><a href="#">Item 3.1.2</a></li>
                </ul>
              </li>
               <li><a href="#">Item 3.2</a></li>
               <li><a href="#">Item 3.3</a></li>
            </ul>
          </li>
           <li><a href="#">Item 4</a></li>
        </ul>
         <p><br />
        This menu bar is <strong>position: absolute;</strong></p>
         <p>It is  nested in the code inside the &quot;header&quot; div (the dark grey one), which is positioned &quot;relative.&quot;</p>
      </div>
     </div><!--end header-->
     <div id="content">
       <!--begin content-->
       <!-- InstanceBeginEditable name="EditRegion3" -->
       <h1>This text (really an h1) is appearing within the div with id of &quot;content&quot;</h1>
       <!-- InstanceEndEditable --></div>
     <!--end content-->
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
    </script>
</body>
<!-- InstanceEnd --></html>
I arbitrarily positioned the nav in the middle of the action. You can play with its positioning, but remember that it is positioned "absolutely" from the left and top of the "header" div. (in this case)
If this is unclear, let me know! By the way, the CSS is in the head of the Template, and the child page, but I didn't print out the other auxiliary files, which you will get automatically if you insert a SpryMenuBar. But the sample on my site will work...
Beth

Similar Messages

  • Template error when pasting code between editable region tags

    Hi everyone,
    The following code snippet is part of the code in my template file:
      <div id="content">
      <div id="content_main">
        <div id="content_inner"><!-- InstanceBeginEditable name="inner" --><!-- InstanceEndEditable --></div>
        <div id="sidebar">
        <h3 class="round2">Categories</h3>
    Note that the above code contains an editable region as follows:
    <!-- InstanceBeginEditable name="inner" --><!-- InstanceEndEditable -->
    Back in my file that's attached to this template, I tried to paste code between these two tags:
    <!-- InstanceBeginEditable name="inner" --> A whole heap of code was pasted here <!-- InstanceEndEditable -->
    But I'm getting the following error:
    "You have made changes to code that is not marked as editable. If you retain those changes, they will be lost the next time you apply a template update to this file. Do you want to retain the changes until then?"
    I don't know why it's saying this since I'm adding code in between the two instance editable tags.
    Does anyone know what's going on here?
    Appreciate any help.

    Hello hth
    Just so you'll know, although 'hth' looks like a signature, it's really an abbreviation for "hope this helps"!
    I have put the code in that you suggested, (via new style sheet I named paradent) enclosed the text within the <p>...</p> but still not working:
    P
    .twoColLiqLtHdr #container #mainContent .paradent {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-weight: normal;
    text-indent: 35px;
    word-spacing: normal;
    <span class="paradent">No color flagged the coming of spring to the Lowveld. The rains were late again, and from the Limpopo to the Sabi River and beyond into Mozambique, the mopani trees were leafless and grey; the wide rivers dry and white under the relentless sun.<br />
    This is not valid code - it's not how you use CSS.
    All CSS needs to either be placed in an external stylesheet which is linked in the head of the document, embedded between <style> tags in the head of the document, or placed inline in the target tag.  Examples of each would be -
    LINKED -
    <link rel="stylesheet" href="path_to_CSS_file.css" type="text/css">
    </head>
    EMBEDDED -
    <style type="text/css">
    body { margin:0; }
    </style>
    INLINE -
    <body style="margin:0;">
    Yours is not only in the wrong place (within the body content), but it's also between <p> tags rather than <style> tags.  That's not going to work at all.  Can you handle getting that rule into the right place in your code?

  • Spry tool tip does not work in template or child pages within an editable region. Why not?

    Ok. so I am getting pretty frustrated. I take the time to learn how to use CSS and to create a template page for a Contractor Site (www.ContractorInsurance.net). The idea is to create a page that I can use for different classes of Contractors...right?
    Then I get all happy about being able to insert ToolTip onto pages to help the user. Great!
    LIfe to turn to Sorrow after nearly five hours of searching for a "eeking" answer.
    So what good does it do to have an Editable region to update if we cannot have the flexibility to insert a tool tip on child pages?  Ok so the fast solution is to what... Have a question mark image, insert another apDiv, name it toolTip_Not and provide it with a show=hide behavior?
    RRRRRrrr...
    This really sucks not being able to find a solution within a reasonable amount of time.

    I have tried thank you. However...it is still not working.
    www.ContractorInsurance.net/course_of_construction.php
    The error message is "Making this change would require code that is locked by a template translator"
        Re: Spry tool tip does not work in template or child pages within an editable region. Why not?
        created by altruistic gramps in Spry Framework for Ajax - View the full discussion
    If you have a look at the following simple document with a tooltipTooltip trigger goes here.
    Tooltip content goes here.
    you will notice that a couple of lines have been placed in the HEAD section of the document. When using DW templates, the HEAD section is usually not editable, hence the error mesaage. By default, your template should have an editable region in it just before the closing tag. It looks like this: <!-- TemplateBeginEditable name="head" > <! TemplateEndEditable --> Dreamweaver should be able to find that editable region and insert the
    <script> tag there automatically. Because you don't have an editable region like that in the <head>, open the master template, and paste the code above just before the closing </head>
    tag. Gramps
    Edited to remove personal data

  • Dreamweaver template giving up "instancebegineditable tag inside editable region" error

    I have been searching the internet and any forum I can find relating to Dreamweaver and find it has been a comman problem for a lot of people but the solutions they got have not helped me. I created a template by following steps via a helpvid.net tutorial and the site looked very good for being basic enough but since last night when I try save the template it gives up the error "there is an error at line 8, column 47 (absolute position 789) of "file address": InstanceBeginEditable tag inside editable region." Now from what I have read on the forums it usually means there is a mispelling or something placed inside the region when it shouldn't be but there is only 50 odd lines on it and can't see any problem. When I view the files it gives the error about, there are duplications of the "begin editable region" a number of times but they shouldn't be there because they aren't on the template. Im also finding that before this error came up the pages looked fine when uploaded but now the footer height which was set to 20px is 200px when uploaded and I have checked all coding for it and checked the Divs but still see no error. I have uploaded my tempalete and some of the pages that its giving errors about to see if that helps, not sure if its best to just paste wall of coding so ill post links to the files and if code needs to be pasted here ill do so. http://dublinmoulding.com/ <- site im working on, it can be seen the footer is very big. Should be 20px height but inspect element shows its 200px - #wrapper #footer {     color: #FFF;     height: 200px; On the template it is #wrapper #footer {     color: #FFF;     text-align: center;     margin: 0px;     font-size: 18px;     font-style: normal;     font-weight: lighter;     font-family: Arial, Helvetica, sans-serif;     padding-top: 5px;     padding-right: 0px;     padding-bottom: 5px;     padding-left: 0px;     height: 20px; http://dublinmoulding.com/dreamweaver/temp1.dwt <- my tempalate The error is given up on every page created using the template
    **Update**  I edited the file names of some of the pages that I used the template on so now it shows the coding.
    http://dublinmoulding.com/dreamweaver/index.html6  <- my index page
    http://dublinmoulding.com/dreamweaver/about.html6 <-about page

    No need for tricks.  We can view source code directly from our browsers or with Inspect Element.
    Like I said, I don't see any code errors in your Template or child pages. 
    If DW continues to display errors,  the first thing to try is Deleting Corrupted Cache in DW
    http://forums.adobe.com/thread/494811
    If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    Nancy O.

  • Templates in DW CS5.5 and editable regions

    I have a template page that has an editable region defined as follows:
    <div class="sidebar1">
        <nav>
          <ul>
            <li><a href="#">Home</a></li>
            <li><a href="#"></a></li>
            <li><a href="#"></a></li>
            <li><a href="#"></a></li>
            <li><a href="#">Members Only</a></li>
            <li><a href="#"> Gallery</a></li>
            <li><a href="#">Constitution</a></li>
            <li><a href="#">Links</a></li>
          </ul>
        </nav>
        <!-- InstanceBeginEditable name="all" -->
    </div>
          <!-- end .sidebar1 -->
      <article class="content">
        <h1>BCEF Clubs</h1>
        <section>
    other code goes here
    </section>
    <!-- InstanceEndEditable -->
    Note the </div> tag  after the start of the editable region. This is a proper tag, as it is needed to close the sidebar1 div.
    When it is not in an editable region, the </div> does not show up in yellow in design veiw and it works in every repect.
    When the editable region is introduced, the </div> shows yellow in design view, and it works in every respect.
    It validates using the W3C validation page.
    Pages built with it also show the tag as yellow but they do not display it when live or in a browser.
    If I delete the </div> as dreamweaver suggests, the css breaks and the page will not work.
    It seems that DW thinks that this is an illegal tag. If I click my mouse on the <!-- InstanceBeginEditable name="all" --> tag, and collapse the tag, all the code in the editable region + that in the sidebare 1 div, ( even that before the editable region begins) collapses. The editable region does not allow edits in the sidebar1 code outside the region.
    I need to put the editable region within part of the sidebar 1 div so that I can add aditional floated items in the sidebar 1 div if needed later.
    Is this a bug or am I missing something?

    This would make more sense.
    </nav>
    <!-- InstanceBeginEditable name="sidebar1" -->
    <p>Some unique sidebar1 content goes here</p>
    <!-- InstanceEndEditable -->
    </div><!-- end .sidebar1 -->
    <article class="content">
    <!-- InstanceBeginEditable name="content" -->
    <h1>Unique heading here</h1>
    <section>
    other code
    </section>
    <!-- InstanceEndEditable -->
    </div> <!--end .content-->
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    Message was edited by: Nancy O.  Forgot to close the .content div.

  • Dreamweaver Template: circle with diagonal line in editable region, but can still edit

    Since upgrading to Dreamweaver CC 2014, for only one of dozens of clients, in a Template, I get a circle with diagonal line in editable region, but I can still edit it, I just can't click to the spot that I want to edit, I have to navigate there with the up down left and right arrows on my keyboard. And, I created a new Template and it didn't happen, until I "got" a file, and now it happens in the new Template too. What's going on?

    Sorry, I'm new here. Do you mean like a screen shot? I just thought maybe somebody had seen this before and would just tell me "you need to uncheck the something or other"

  • Child pages inheriting editable regions from template

    I have looked far and wide and cannot find an answer to this problem:
    We recently did a homepage update where the nested and/or second level template (index_template.dwt) was changed. Since much of the formatting was the same - I duplicated the original index_template and made all necessary changes. From this template two child pages were created for our US and UK site. Upon creating the page(s) from the index_template they are inheriting the editable regions, thus not having the ability to update when changes are being made to the template. I have tried multiple ways in an attempt to correct this - but to no avail. Does anyone have a clue how to correct this? As of now I have to manually update all 3 pages.
    BTW I am also a relatively new user who was thrown into managing our company website and pretty much doing a redo on the whole thing. Talk about a learning experience!

    My issue is when you create a page from a template they are not supposed to inherit the editable regions less otherwise marked.
    But that is not true. A newly created child page will inherit ALL content from its template.  But changes to the editable region contents in the template will NOT propagate to existing child pages.
    So, for example, if I want all child pages to have an embedded stylesheet in the head that is EDITABLE, my template would look like this -
    <!-- TemplateBeginEditable name="head" -->
    <style type="text/css">
    </style>
    <!-- TemplateEndEditable -->
    All newly created child pages will then look like this -
    <!-- InstanceBeginEditable name="head" -->
    <style type="text/css">
    </style>
    <!-- InstanceEndEditable -->
    If I then go back to the template and change it like this -
    <!-- TemplateBeginEditable name="head" -->
    <style type="text/css">
    body { margin:0; }
    </style>
    <!-- TemplateEndEditable -->
    that change will NOT propagate to existing child pages, but WILL appear in child pages created subsequently to the save of the template after the change.
    And by the way, it's always been this way.

  • Nesting Templates: Child-Template Pages not Fully Responding to Editable vs. Un-Editable Regions

    M'kay, so first and foremost, all of this is being done within Dreamweaver CS5. How I might explain this is that I have a series of Master-Templates for my website, accompanied then by Child-Templates linked off of / nested from my Master-Templates. So far this is going wonderfully, that is, until I try to make a page from one of my Child-Templates.
    The page from my Child-Template accurately comments-out an un-editable region (Region in which was editable within the Master-Template, but left as ONLY editable within the Child-Template) so long as I add an EDITABLE region WITHIN it. Under the circumstance that I DO NOT add an editable region within the Master-Template's editable region, the region within the Page is still appearing editable.
    For example:
    Master Template:
    <!-- TemplateBeginEditable name="ChildTemplateCSSLinks" -->
         Child Template CSS Links Here.
    <!-- TemplateEndEditable -->
    Child Template:
    <!-- InstanceBeginEditable name="ChildTemplateCSSLinks" -->
         Child Template CSS Links Here.
         <!-- TemplateBeginEditable name="ChildPageCSSLinks" -->
              Child PAGE CSS Links Here.
         <!-- TemplateEndEditable -->
    <!-- InstanceEndEditable -->
    Child Page:
    Child Template CSS Links Here. (Accurately appearing Un-Editable - {Master-Template's editable region tags accurately appearing invisible})
    <!-- InstanceBeginEditable name="ChildPageCSSLinks" -->
         Child PAGE CSS Links Here. (Accurately appearing Editable)
    <!-- InstanceEndEditable -->
    This is an example of an editable regions that WORKS. In the Child-Page the "Child Template CSS Links Here." IS appearing commented out and therefore un-editable within the Child-Page, like it's supposed to be. This then allows the "Child PAGE CSS Links Here" to be ACCURATELY editable within the Child-Page.
    Now for an example of what DOESN'T work:
    Master Template:
    <!-- TemplateBeginEditable name="ChildTemplateCSSLinks" -->
         Child Template CSS Links Here.
    <!-- TemplateEndEditable -->
    Child Template:
    <!-- InstanceBeginEditable name="ChildTemplateCSSLinks" -->
         Child Template CSS Links Here.
         (As you see, I have NOT added an additional editable region within this Master-Template's editable region. This is an area that is ONLY supposed to be editable within the Child-Template and NOT the Child-Page, which SO FAR appears to be accurate.)
    <!-- InstanceEndEditable -->
    Child Page:
    <!-- InstanceBeginEditable name="ChildTemplateCSSLinks" -->
         Child Template CSS Links Here.
         (For some reason, ONLY so long as I DO NOT add an additional Child-Template-editable-region within this Master-Template's editable region, this area is STILL appearing visible as well as editable within the Child-Page.)
    <!-- InstanceEndEditable -->
    So, under this circumstance, it seems that the only way I can leave a Master-Template's editable region ONLY editable within the Child-Template and NOT editable within the Child-Page is by leaving an ADDITIONAL editable region produced via the Child-Template somewhere within EVERY SINGLE editable region produced via the Master-Template. Unless I am doing something seriously wrong, this so far appears to be a potential defect/bug within Dreamweaver CS5. I can't imagine how this would be accurate, otherwise Child/Nested-Templates would not be possible to make. What might I be doing wrong? Is there any way that I can specify in the Master-Template that an Editable Region is ONLY Editable within the Child-Template and NOT within further Child-Pages (A Page based off of the Child-Template)? Or perhaps is there a way that I can specify in the Child-Template that an editable region WILL NOT be editable within the Child-Page? Furthermore, no, I DO NOT want to make them "Optional Regions," so please do not suggest that.
    I know that this is all probably a bit confusing, but hopefully the examples above will help more than the descriptions aside. As you can probably assume, this is definitely a HUGE complication within my website if there doesn't end up being a solution, especially with all the time I have put into making the Child-Templates that I hope to rely on. It really would be a bit ridiculous if I had to script-in an additional editable region within every single Master-Template-editable-region available within my Child-Template just so that I may update my Child-Template, furthermore allowing my edits to drop down to my Child-Pages, especially since it would maintain content that I never wanted to be editable within the Child-Page in the FIRST place.
    Some help would be sincerely appreciated, and as soon as possible, if I might ask politely.
    Thank you. Sincerely,
    ~ Miss Cat

    =____= I cannot believe that I am saying this, after writing ALL of that up, but thanks to "Dreamweaver CS5 for Dummies," I just learned that if you place: @@(" ")@@ within the Child/Nested Template's editable region that you DO NOT want passed down to your Child-Pages, it won't appear editable. Goodness knows why such an inconspicuous formula was the answer, but I guess whatever works. ...WHY WAS THIS INFORMATION SO DIFFICULT TO FIND?!?!?!?! @____@ Information on Nested Templates in general seems rather difficult to find, however, so I'm glad I figured this out /not ever a full hour/ after writing all this up and posting it. #__#  ...At least my Child-Templates can work thoroughly now, though. So... Scenario FIXED. ^^
    I only hope now that such information will appear helpful to anyone else hunting for this information via Google or other Search Engine in the future. And if there is anything at all that I am still officially missing, then do feel free to add it to the feed and let me know, because the last thing I need right now are more surprise difficulties to equally slow down the productivity of this massive project I've been working on... @___@ ..But so far things seem to be going good. ^^ So I can settle myself unbelievably grateful that there ended up being a solution to this ridiculousness after all.
    Sincerely,
    Miss Cat
    [signature promo info removed by moderator]

  • How can we add multiple editable region in template

    Hi,
    My issue is when I am going to create a new template I want to add multiple editable region in template and I want to use those editable region per page wise so that in page editor I will add different text for each page for those editable region.
    I can use incontxt editor to change those area for different pages although is it possible to use online editor to add different text for different pages.
    I also have a plan to solve the issue ... that is also not working.
    Plan is .. if we can use tag (not the default one in template), want to use different tag like {tag_headding},{tag_sidebarcontent} in template so that we can use those tag in template and fill the field in the page online editor, so when differnt page we will create we will fill those field for those tag and that will show in the front view of the site.
    Please help me. I am really stuck on this issue.
    Thanks in advance.
    Projjwal

    Hi Projjwal,
    Yes, if you look at many of the commercial BC templates available the way they are getting around it is with Content Holders and multiple templates.
    Now I know you will say that multiple templates is high maintenance ..... not if you use Content holders for both recurring content and unique content.
    Think of Conent Holders as 'Includes' ... I have been doing it this way with templates that I build from scratch as well. Easier than you think.
    And that way the client can change content such as footer information or whatever that appears on all pages without editing the template itself.
    Only drawback is that if you are using Design View in Dreamweaver the content holders don't render. But other than that Content Holders are awesome.
    Brad

  • Dreamweaver CS3: One Template, Multiple Sites

    We have about 40 sites with the same basic layout, but it's
    always a hassle to update the templates because we have to do it 40
    times! Is there any possible way to use the same template for
    multiple sites so that updates will be much easier? We are just
    using regular HTML pages, nothing in PHP or the like.

    Trying to apply a template site-wide would be a catastrophe -
    that's
    probably why there isn't an extension to do it....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joris van Lier" <[email protected]> wrote in message
    news:facc5t$r2k$[email protected]..
    > "novavision" <[email protected]> wrote
    in message
    > news:fac4ca$i6e$[email protected]..
    >> We have about 40 sites with the same basic layout,
    but it's always a
    >> hassle to
    >> update the templates because we have to do it 40
    times! Is there any
    >> possible
    >> way to use the same template for multiple sites so
    that updates will be
    >> much
    >> easier? We are just using regular HTML pages,
    nothing in PHP or the like.
    >>
    >
    > One solution to this problem is to create some
    serverside code that parses
    > the output of a templated page, extracts the content of
    editable regions
    > end reinserts those into another template before
    outputting to the client,
    > I have some php code for that which could be run outside
    of a webserver
    > environment, let me know if interested and I'll look it
    up for you.
    >
    > But since you mentioned you don't use any serverside
    code your best option
    > would be an "apply template site-wide extension", I've
    seen one of those
    > in the Dreamweaver 4 era, but a quick google only
    returned this tutorial:
    >
    > Batch Apply Template!
    >
    http://www.dreamweavermx-templates.com/tutorials/tutbatch.cfm
    >
    >
    > Hope this helps
    > Joris

  • Non-Editable Regions being edited

    I have created a whole site in dreamweaver with editable
    regions set up as i usually do. In contribute 3 i can edit the site
    no problem, however if it is edited in version 4, my non-editable
    regions have some mm_lock code in part of the javascript. This then
    completely cocks up the layout and i have to go in via FTP to edit
    the site manually.
    Is there some setting in version 4 i am missing? I would post
    this to support but i am not upgrading until i can find a solution
    to this problem.

    Updating the .dwt template file is the easiest way.
    If you want to get rid of the template all together, you can open the child page and choose Modify > Templates >  Detach From Template to edit anything you want.

  • Are Editable Regions Required to Use Contribute

    I have a website that was not developed with Contribute editable regions and templates.  Instead we used server side includes and my client wants to use Contribute to edit everything but the SSI.  Is this possible?  And no, I would prefer not to have to go back and create templates/editable regions on this site with many pages.

    If no Dreamweaver Template is set at all, they should be able to use Contribute to edit every html page that renders properly in the browser when accessed via a URL typed into Contributes the location bar.. (Or used to, I havent tried this in ages.)
    Anyway, however, this has a tendency to get really messy. You got no way to control what theyre doing, Contributes editing functions are limited and they or Contribute might screw up your code in the process (like unsupported attributes, script code, getting nuked etc.).
    If you got a DW template defined and locked and no editable region exists, then all Contribute users would be locked out from editing pages.
    I love Contribute, but in a situation like this, I would probably vote against using it. At the very least, wrap your main content area in one single editable region...
    Maybe you might want to  grab a trial of Contribute CS5 and check it out as soon as it gets available in May and work with a backup copy of your site to see for yourself.

  • Editable region issue

    Anyone ever have this issue:
    I built a template in DW and set two editable regions. When I open a page to edit in Contribute (client's copy, windows vista) the light blue outline that surrounds the editable region sits at the top of the div and does not expand. It also adds a return at the top of the div. Otherwise it edits and saves like it should. It is a very simple file, three headings and a text style. Any suggestions?
    Thanks!

                    Administer the site in Contribute and Edit the role setting. Select the option “Two lines, as in web page editors (uses standard <p> tags)”.
    Hope this solves your problem.

  • Editable region - all pages change?

    Hi,
    I've made a template for some pages, but the customer has to change the image (in the header).
    I've made an editable region, but when I edit an image of a page (not the template), all images of pages which are made with that template are changing.
    http://extraleisure.businesscatalyst.com/recreatieve_evenementen
    Thnx for your reply!
    Regards Carla

    Hi Liam,
    Thanks for your reply, but its still not working.
    In the header off the template I’ve putten: 
    Onderwerp:  Re: Editable region - all pages change? Editable region - all pages
    change?

  • I can't remove Editable Region

    I have multiple templates and I cannot remove and editable region...it won't allow me to do so through Modify>Templates>Remove Markup...it will not make that option available to me...Help
    Learning

    You need to make the change in the main template, not in a child page.

Maybe you are looking for

  • Screen Locked, can't remember email password

    My son had a friend try to unlock his phone and they tried too many times so it locked the phone.  But he can't remember his email password to reset the phone so he can get in.  is there anyway to get back into his phone? We are trying to reset the p

  • TOP OF PAGE IN ALV TREE

    Hi, Does anyone knows how to use top of page event in alv tree, Can anyone give an example please. I'm using class CL_GUI_ALV_TREE . Thanks in advance

  • How to distribute TUXEDO8.0 client

    I want to distribute Tuxedo8.0 client in out products like distributing Borland DataBase Engine. But I have a hard difficulty. Please help me.

  • WEP, WPA, VPN

    First I should say that I am technologically challenged. I would like to be able to log onto my computer from anywhere. The sharing options are on, but I'm concerned about security. I don't have any encryption running & I'm sure that users are piggyb

  • My 13" macbook won't charge

    When I plug in my 13" macbook the charging light indicator on the magsafe only shows very dim orange colour. Anyone know what could cause this?