This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > August 2004 > Template lost
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| MSteinberg 2004-08-10, 12:14 pm |
| I have a website with pages based on a template. I had a nasty hard drive crash
and cannot find a copy of this template. Now I have to make changes to the
site. Is there a way to recreate the missing template, or do I have to detach
all the pages from the template in order to make the change?
Thanks
Miriam
| |
| Murray *TMM* 2004-08-10, 12:14 pm |
| Miriam:
Can you show me one of the child pages, please?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"MSteinberg" <webforumsuser@macromedia.com> wrote in message
news:cfaaig$3j4$1@forums.macromedia.com...
> I have a website with pages based on a template. I had a nasty hard drive
crash
> and cannot find a copy of this template. Now I have to make changes to the
> site. Is there a way to recreate the missing template, or do I have to
detach
> all the pages from the template in order to make the change?
> Thanks
> Miriam
>
| |
|
|
| Murray *TMM* 2004-08-10, 12:14 pm |
| Yep - that'll do it.
Follow these steps carefully (which DW are you using?).
1. Make a backup of your local site from the root folder down, and squirrel
it away somewhere.
2. Open this page, and add HTML comments both above and below the Editable
Region in the body, so that you will know where it was. That is, change
this -
</table>
<!-- #BeginEditable "body" -->
<br>
to this -
</table>
<!-- Begin Editable here -->
<!-- #BeginEditable "body" -->
<br>
and this -
<p> </p>
<!-- #EndEditable -->
<tr align="center" valign="middle">
to this -
<p> </p>
<!-- #EndEditable -->
<!-- End Editable here -->
<tr align="center" valign="middle">
3. use MODIFY | Templates > Detach from template.
4. then use FILE | Save As Template, and save the file with the name of the
original template (shell.dwt).
5. then (in code view) delete everything between <!-- Begin Editable
here --> and <!-- End Editable here -->, exclusive (in other words, don't
delete those two comments, just everything between them).
6. then, with the cursor between those two comments, use INSERT | Template
Objects > Insert Editable Region, and name it "body".
7. save the template file.
I think you have now recreated the original template. At this point, you
should recreate the site cache (SITE | Recreate Site Cache).
*****BUT***** you need to fix the invalid code on that page before doing
ANYTHING!
Note that the editable region begins after a table tag ends -
</table>
<!-- Begin Editable here -->
and ends before a <tr> tag -
<p> </p>
<!-- #EndEditable -->
<tr align="center" valign="middle">
and this is an invalid construction, implying that the table prior to the
editable region was between </tr> and <tr>, and it was not. That's a bad
error.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"MSteinberg" <webforumsuser@macromedia.com> wrote in message
news:cfajsq$emr$1@forums.macromedia.com...
> Here is an example of one of the pages based on the template.
> http://www.avantguards.com/slim_fsss_L4.html
> is this what you wanted to see?
> Thanks for your help
> Miriam
>
>
| |
| MSteinberg 2004-08-10, 11:16 pm |
| Thank you so much Murrray!
But i'm a little confused.
When you say:
"*****BUT***** you need to fix the invalid code on that page before doing
ANYTHING!
Note that the editable region begins after a table tag ends -
</table>
<!-- Begin Editable here -->
and ends before a <tr> tag -
<p> </p>
<!-- #EndEditable -->
<tr align="center" valign="middle">
and this is an invalid construction, implying that the table prior to the
editable region was between </tr> and <tr>, and it was not. That's a bad
error."
I'm not sure how the code should read. I started the editable region before a
table tag and ended it after a </table>.
What should I have done?
In a related question
The client wants his website on cd. I created a separate folder for the cd
and copied all the files into this folder. If I want to make changes ONLY to
the pages in the cd folder do I (or even should I) make changes to the
template or can I do a find and replace on that particular folder? Will find
and replace work on areas of a page that are greyed out and not editable
(because they are based on a template)?
Thank you so much for your help
I really appreciate it
Miriam
| |
| MSteinberg 2004-08-10, 11:16 pm |
| ok
regarding question 2
He wants to run it off of the cd.
Thanks
Miriam
| |
| Murray *TMM* 2004-08-10, 11:16 pm |
| OK - just make sure that all your links are document relative links, and
then copy the root folder onto the CD AFTER you have made your final changes
to the site.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"MSteinberg" <webforumsuser@macromedia.com> wrote in message
news:cfasvt$qi8$1@forums.macromedia.com...
> ok
>
> regarding question 2
> He wants to run it off of the cd.
>
> Thanks
> Miriam
| |
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|