• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 147
  • Last Modified:

Apply new page layout to existing HTM files

I have nearly 1300 htm files that need to be updated to a new look.  I don't want to change the content of the page, but want to put that content in a new layout.  Does anyone know of a way to do this without having to touch and modify each of  the 1300 files?

2 Solutions
As far as i know, i dont think there is an easy way of doing that. Unless your initial design of the site was everything dynamically driven and all content are from the database or some other similar method, which means that your content is totally separated from your page layouts. So all the content is basically retrieved depending on the given parameters and populated on the same file, i.e. although the content of the pages are different but it all get displayed in the same page.
If that's the case then you can easily change that page and should change the whole site layout, otherwise i am afraid there is no easy way, but doing page by page. Please someone correct me if i am wrong with this, thanks.

One thing i think you should be able to update easily is the CSS file, the stylesheet file. It should be only one stylesheet that is shared across the site. You only have to change the styles in the CSS file (but not changing the name of the styles), it should get changed across the whole site.

The only way I know is if the intial pages were created using templates, you can apply a new template to all the new pages you want.
johnson00Author Commented:
Well, you've both confirmed my fear that those were the only answers to my question.  I was hoping that there was just some trick out there that I was unaware of.  Looks like I'll be busy for the next few weeks with my 1300 pages.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now