HighDots Forums  

Merging templates

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Merging templates in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PhxSunBum
 
Posts: n/a

Default Merging templates - 10-07-2005 , 05:43 PM






I maintain an intranet site developed with Dreamweaver that has over 1000 pages
and serves 7 divisions in the same company. Initially each division wanted
their own masthead and navigation structure, so a template was developed for
each (8 templates in all, one for the home page and corporate info (corp1.dwt),
and one for each division (div1.dwt, div2.dwt, etc). Now the corporation wants
all the divisions to look the same and share the same template as the home page
(corp1.dwt). I've managed to apply the changes to each template individually
by saving the corp template 7 times as div1.dwt, div2.dwt etc. Is there any
way to eliminate the division templates and have all pages just use the
corp1.dwt without recoding each and every page to reference the proper
template?


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Merging templates - 10-07-2005 , 05:56 PM






Do the templates all have the same number of editable regions, and are they
all named the same?

If your answer to both is "yes", then you can probably do this. I'll wait
for your response....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver
THE BEST WAY TO GET ANSWERS
==================
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
==================
"PhxSunBum" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I maintain an intranet site developed with Dreamweaver that has over 1000
pages
and serves 7 divisions in the same company. Initially each division
wanted
their own masthead and navigation structure, so a template was developed
for
each (8 templates in all, one for the home page and corporate info
(corp1.dwt),
and one for each division (div1.dwt, div2.dwt, etc). Now the corporation
wants
all the divisions to look the same and share the same template as the home
page
(corp1.dwt). I've managed to apply the changes to each template
individually
by saving the corp template 7 times as div1.dwt, div2.dwt etc. Is there
any
way to eliminate the division templates and have all pages just use the
corp1.dwt without recoding each and every page to reference the proper
template?




Reply With Quote
  #3  
Old   
PhxSunBum
 
Posts: n/a

Default Re: Merging templates - 10-07-2005 , 06:04 PM



All templates have the same number of editable regions and each editible region
has the same name (body1). Each template obviously has a different name
(div1.dwt, div2,dwt, etc.).

thanks for your assistance!


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Merging templates - 10-07-2005 , 06:34 PM



You're lucky.

Make a backup of the site first.

Then systematically march through the template list by following this
procedure.

Open the global template and save it with the name "div1.dwt". Then delete
the global template and rename div1.dwt to the global template's name. Now
save the global template with the name div2.dwt. Repeat the process for
each of your templates. Your last step would be to rename the last template
back to the global template's name. I believe you will now have all your
child pages under that single template.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver
THE BEST WAY TO GET ANSWERS
==================
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
==================
"PhxSunBum" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
All templates have the same number of editable regions and each editible
region
has the same name (body1). Each template obviously has a different name
(div1.dwt, div2,dwt, etc.).

thanks for your assistance!




Reply With Quote
  #5  
Old   
PhxSunBum
 
Posts: n/a

Default Re: Merging templates - 10-07-2005 , 07:19 PM



Murray... you're awesome dude! Thanks so very much!

Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Merging templates - 10-07-2005 , 07:25 PM



Did you try it yet? 8)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver
THE BEST WAY TO GET ANSWERS
==================
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
==================
"PhxSunBum" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Murray... you're awesome dude! Thanks so very much!



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.