Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2009
    Location
    Norway, Europe
    Posts
    94
    Thanks
    12
    Thanked 2 Times in 2 Posts

    Question Combining webpages?

    OK.. I'm just wondering.

    If you have lots of pages in a website, is it possible to combine them, so that you just put in a small code (In thinking <link />?) for for example the menu, footer, etc. and then it puts in what is in that document in that tags place?

  • #2
    Regular Coder BoldUlysses's Avatar
    Join Date
    Jan 2008
    Location
    Winston-Salem, NC
    Posts
    938
    Thanks
    10
    Thanked 190 Times in 187 Posts
    I think what you're after is a Server-Side Include (SSI). There was a thread about this recently.

    Quote from first link:

    These two functions are used to create functions, headers, footers, or elements that can be reused on multiple pages.

    This can save the developer a considerable amount of time. This means that you can create a standard header or menu file that you want all your web pages to include. When the header needs to be updated, you can only update this one include file, or when you add a new page to your site, you can simply change the menu file (instead of updating the links on all web pages).
    matt | design | blog

  • Users who have thanked BoldUlysses for this post:

    DarkLightA (02-24-2009)

  • #3
    New Coder
    Join Date
    Feb 2009
    Location
    Norway, Europe
    Posts
    94
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Thank you


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •