Forum Moderators: open

Message Too Old, No Replies

Repeating text in many pages.

         

neveremail

8:01 pm on Mar 3, 2005 (gmt 0)

10+ Year Member



Hi,

I have just started making a new web page and I am a relatively newbie.

I have a preset layout for all my pages which have a left banner for links and adverts and the same introductory message for each page.

If I want to make changes to the left banner or introductory text is there a way, without using frames, where i can change them all at once rather than do it page individualy?

Thanks

Chirs

tedster

8:50 pm on Mar 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums!

There are several approaches you can take - one of the best is to use some kind of "include" file and use either Server-Side Includes (SSI) or PHP includes. These allow you to call another file with all the partial html you want to "include" in a given spot. Both require that the server hosting your site supports the technology.

The details are outside the scope of basic HTML - as I said these are server-side technologies and we have forums here devoted to the server side of things - but now that you know what it's called you can search, for details and get up to speed.

PHP includes [google.com]
Server Side Includes - SSI [google.com]