Forum Moderators: open

Message Too Old, No Replies

Is there a way to "pull" a header and footer for all of our pages?

         

Compworld

5:53 pm on Feb 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, we have about 100 static pages, and everytime we update the header and footer, we have to update the static pages individually. Is there anyway for me to have the static pages pull this information from a single location without frames?

Thanks,

CompWorld

BarkerJr

6:20 pm on Feb 27, 2004 (gmt 0)

10+ Year Member


Sure, use includes. They're available in PHP and SSI languages.

Compworld

6:30 pm on Feb 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there a way to use them on .HTM pages?

Thanks,

CompWorld

BarkerJr

6:55 pm on Feb 27, 2004 (gmt 0)

10+ Year Member


Yeah, look into SSI/SHTML.

vkaryl

1:09 am on Feb 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check these threads:

[webmasterworld.com...]

and

[webmasterworld.com...]

These address how to use php code to do the same thing that SSI and the attendant .shtml and include.html do. Far better solutions, really - I'm in process of redoing a number of sites with hundreds of pages right now to take advantage of "newer is better" (at least it is this time!)