Forums

This topic is locked

Editable Regions and Template

Posted 04 Jul 2007 01:05:48
1
has voted
04 Jul 2007 01:05:48 Roger Smith posted:
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?

Replies

Replied 04 Jul 2007 12:51:51
04 Jul 2007 12:51:51 Roger Smith replied:
anybody?
Replied 04 Jul 2007 13:27:32
04 Jul 2007 13:27:32 Roger Smith replied:
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.
Replied 05 Jul 2007 22:09:08
05 Jul 2007 22:09:08 Roger Smith replied:
Figured it out, issue closed.

Reply to this topic