PDA

View Full Version : Existing Editable Regions and Template


rgbmaster
07-03-2007, 10:49 PM
DreamWeaver gurus, I need your help! :)

Basically I want to apply a template to a page without erasing what's in editable regions already on that page...

I have a simple .html page...

on this page I have title, meta, h1 tag text, and another body text...

what I want to do is to apply a template to this page but when I do so I want all these items inside to be untouched... so when I apply my template basically I am applying all uneditable regions like my desing but what's already on this page inside editable regions stays as it was...


Example

super.html file

<!-- InstanceBeginEditable name="doctitle" -->
<title>SUPER DUPER</title>
<!-- InstanceEndEditable -->

<!-- InstanceBeginEditable name="h1text" -->I am super<!-- InstanceEndEditable -->

<!-- InstanceBeginEditable name="maintext" -->Thanks for asking!</title><!-- InstanceEndEditable -->


so in my template besides all other stuff I have these editable regions

<!-- TemplateBeginEditable name="doctitle" --><!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="h1text" --><!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="maintext" --><!-- TemplateEndEditable -->

But for some reason, why I apply template to the page, all my texts like "I am super" is gone from editable regions...

I feel like I am loosing my mind here and that the solution is right on the surface... Does this make any sense?

rgbmaster
07-04-2007, 10:54 AM
bump... anybody?

rgbmaster
07-04-2007, 11:29 AM
Also...

I have many pages that already have editable regions and text in those
editable regions so creating new pages from template and hand copying
content page-by-page is not the best solution.

rgbmaster
07-05-2007, 08:13 PM
Figured it out, issue closed.