|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Newbie here; please be kind.
I've inherited a site with a plethora of similar-but-different templates. I'd like to be able to detach all files from their templates and clean them up. Is there capability within Dreamweaver (8) to apply a command e.g. modify/templates/detach from template -- to all files? I haven't found this with the app, nor any extensions. Thoughts appreciated. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
> I've inherited a site with a plethora of similar-but-different templates
Yikes. How many templates? How many total pages are controlled by these templates? How many pages are NOT under template control? > I'd > like to be able to detach all files from their templates and clean them > up. You don't want to do this. It's a one-way street. The right way is to clean up the respective template. But if, for example, your site is 50 pages with 20 templates, then the right thing to do is to redo the site so that you have 50 pages and 2 templates (or something like that). I mean, why have almost as many templates as you have pages? Why use templates at all in that situation?! -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "Sbles" <webforumsuser@macromedia.com> wrote in message news:g4dk4d$rh9$1@forums.macromedia.com... > Newbie here; please be kind. > > I've inherited a site with a plethora of similar-but-different templates. > I'd > like to be able to detach all files from their templates and clean them > up. Is > there capability within Dreamweaver (8) to apply a command e.g. > modify/templates/detach from template -- to all files? I haven't found > this > with the app, nor any extensions. > > Thoughts appreciated. > > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Yeah, I guess "plethora" is a bit vague. There are 14 templates and just under
1000 .htm or .html files. If I had to guess, half or less of them are template-driven. Maybe a different way of looking at the collection: is there a way to report which modules are under the control of which templates? I just know if I make some update, I get a count of the files that are updated as a result, but I don't see a high level "Template Report" kind of thing. Extra credit: is it straightforward to change the template being used? Let's say there's Template1 and Template1a and their fields are identical (or close enough). Is there a way to just change all Template1a's-owned files to be owned by Template1? Which there was a nice MySQL schema behind DMX -- I might shoot myself in the foot making the updates, but at least I'd have something to try. Thanks for your ! |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
> Yeah, I guess "plethora" is a bit vague. There are 14 templates and just
> under > 1000 .htm or .html files. If I had to guess, half or less of them are > template-driven. YIKES. Using templates on a site with 1000 files (even 300 files) is like putting bamboo shoots under your fingernails! > Maybe a different way of looking at the collection: is there a way to > report > which modules are under the control of which templates? I just know if I > make > some update, I get a count of the files that are updated as a result, but > I > don't see a high level "Template Report" kind of thing. If you do a sitewide search for each template name, you will return all child pages of that template. Or, you can grab this - For templates this extension can : http://www.massimocorner.com/dreamwe...ate_report.mxp It reports pages associated with templates and editable regions inside all pages to make that job easier. > Extra credit: is it straightforward to change the template being used? .... > and their fields are identical (or close enough) Assuming that their EDITABLE REGIONS ARE IDENTICALLY NAMED.... Heh - that's easy. First, make a backup of the site for safety's sake. Change template1.dwt to template1old.dwt, and REFUSE THE UPDATE. Then change newtemplate1.dwt to template1.dwt. Finally, open one of this template's ex-child pages, and do MODIFY | Update Pages..., and update all pages. Bada bing, bada boom. If their editable regions are NOT identically named, then it'll be much more difficult. Did I say MUCH MORE? -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "Sbles" <webforumsuser@macromedia.com> wrote in message news:g4ead0$m55$1@forums.macromedia.com... > Yeah, I guess "plethora" is a bit vague. There are 14 templates and just > under > 1000 .htm or .html files. If I had to guess, half or less of them are > template-driven. > > Maybe a different way of looking at the collection: is there a way to > report > which modules are under the control of which templates? I just know if I > make > some update, I get a count of the files that are updated as a result, but > I > don't see a high level "Template Report" kind of thing. > > Extra credit: is it straightforward to change the template being used? > Let's > say there's Template1 and Template1a and their fields are identical (or > close > enough). Is there a way to just change all Template1a's-owned files to be > owned > by Template1? > > Which there was a nice MySQL schema behind DMX -- I might shoot myself in > the > foot making the updates, but at least I'd have something to try. > > Thanks for your ! > |
|
![]() |
| Outils de la discussion | |
|
|