Template messagegreenspun.com : LUSENET : web3_spring2000 : One Thread
Does anyone know why I get this weird message when I apply a template to an existing page? Dreamweaver tells me that there are no editable regions in the template that I choose and that I won't be able to make changes if I continue to apply it. I check over the template that I created by "Save as template..." It applies the template to my pages fine but I guess I don't understand how they work just yet.
-- Rich Pascual (firstname.lastname@example.org), March 09, 2000
When you created your template, did you assign, or create, Editable Regions in it?
In general, applying a template to an existing page is much trickier than creating a page from an existing template.
-- Joe Tennis (email@example.com), March 15, 2000.
Yes, I did. On my NT machine, I press CNTRL-ALT-W and whatever I have selected will become an editable region denoted by that selection turning a different color. I then make whatever changes I need to create a different page using that template, then save it out as html. This causes the window that I'm working in to change from the template I was working from to the saved html file. I would then close that window (since it's obviously saved) and open the template up so I can start another page. This is when that message will pop up. It still works and I can create my other pages, but I'm wondering if I'm doing something wrong that will hurt me later or if the program is acting weird or has a bug. Right now, I'm using the 30-day trial version of D3 even though I have D2 installed. This might be the problem. Either way, It isn't that important since I'm still able to create my pages from that template.
-- Richard Pascual (firstname.lastname@example.org), March 16, 2000.
From what I'm hearing, you're working in a template (that is you've opened the existing Template file and edited it), adding Editable Regions, then modifying those regions as you would like them to appear in the final page and saving them. Here's my question: are you 1) opening the Tempalte (iether by going File: open in DW or double- clicking the Template in the Site window) and doing a "Save As", or are you 2) choosing "New From Template" from the File menu selecting a template from the "Select Template" dialog box, adding content and saving as usual...
-- Joe Tennis (email@example.com), March 16, 2000.