if I have a temp1.dwt.php with 60 files on it and one editable region, how apply to this template a new temp2.dwt.php with same one editable region same place, without need to create new files and copy / paste editable region contents???
eg I have a 3-region layout(template) with one editable region with html tables and want to convert it to:
3-region layout(template) with one editable region with DIVs
editable region contents all files remain the same...
well?
dw cs6 and dw cs4
From Tables to CSS Web Design Part 1 -
http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
From Tables to CSS Web Design Part 2 -
http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt2.html
Nancy O.
Build a new template that is not a table-based layout. Name your editable regions the same in the new template as they were named in the existing one. Apply the new template, one-by-one to each existing page.
Alternatively, after creating and saving your template as above, close ALL files. Then do a site-wide Find and Replace to find the old template's file name, and replace it with the new template's file name. Now open the new template, make a trivial change to it, and save it. Allow all files to be updated.
Please make a backup copy of your entire site before attempting either of these two.
i-how-to
Name your editable regions the same in the new template as they were named in the existing one.
???
ii-how to:
Then do a site-wide Find and Replace to find the old template's file name, and replace it with the new template's file name.
if the old template is templ.dwt and new templ.dwt.php???
Message was edited by: lsepolis123
Name your editable regions the same in the new template as they were named in the existing one.
???
Look at the code in the old template. Find all regions like this -
<!-- TemplateBeginEditable name="whatever" -->
Make note of the name. Ensure that all corresponding regions in the new template have the same name as they did in the old template.
Then do a site-wide Find and Replace to find the old template's file name, and replace it with the new template's file name.
if the old template is templ.dwt and new templ.dwt.php???
Find SITE-WIDE "templ.dwt" and replace with "templ.dwt.php".
lsepolis123 wrote:
how delete an editable region... and delete all content from all descentant pages?
Open the template file. In Design view, click on the editable region's cyan-colored tab. Press the delete key. That will delete the editable region in the template, and when the template is saved, it will delete the editable region on all child pages, including the content.
North America
Europe, Middle East and Africa
Asia Pacific