Hello all, im no genius when it comes to web design and Ive always used DW for a template. Today when i finally redesigned my site with a social section above the main logo image and saved my template and something happened... I clicked yes to mapping a new area with regards to the doc title. Now the template has moved all my document titles in all my pages the bottom of the center container.or middle part of my web page. It all happened so fast and I've nothing to revert to.
Before i could use this template to make changes to 99% of my web pages and my titles were unaffected . Im stuck and cross beacuase i cannot work it out, to be honest i may have made it worse by trying to fix it.
Does any know about these templates and how they work so i might be able to fix the issue. I had two main templates, one for my home pages which has all kinds of extra code and the one for the rest of the site. The home page one seems different and I've tried to use it in part to replace the other template only with no luck and the effect I've described above.
No sure if anyone can help or what i need to show you to help. Thanks again for previous help and hope someone can help this time.
- Lesson 1: use version control software like GIT, Subversion, or Mercurial.
- Lesson 2: Learn how the tools you use work so you know what will happen when you apply changes. Even better, stop using DreamWeaver and learn to code by hand.
- Lesson 4: You get answers on doctype.com because experienced developers want reputation points. Upvote the answers you like. As the question asker, choose the best answer and set it as correct so that those that take the time to help you get rewarded for doing so. Otherwise, you'll get no help at all.
2 answers
point
DreamWeaver templates look like regular html files but with some special comment tags that demarcate "regions." When you create a new page based on a template, the new page maintains an association to the template so that when the template changes, the pages based on that template change accordingly. When you made the change to the template, you were in effect telling DW to make a change to every page on your site. As far as I know, there is no way to "undo" the action you made, unless you have backups (always a good idea) or have committed your changes in revision control software (always a good idea).
To fix it, you will have to redo your template or abandon the templating altogether and change each file individually.
The fact of the matter is that sometimes mistakes have no easy fix. Had you used versioning, you would merely roll back to a previous commit. Had you backed up your files regularly, you would merely restore the backup. This is a hard lesson to learn, but a good one. Chalk it up to experience and be better at being a web developer.
points
Thanks. I had to add the editible regions back in and manually move the meta and title into the region.
