SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: New to SSI

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Nov 2012
    Posts
    248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    New to SSI

    Because I have a limited knowledge of HTML, I have been asked to help redesign a club website

    It has 42 pages all of which have the same top 2/3rd with different content in the bottom third.

    I have been told that the best way to structure this is with SSI. Is it ?

    And whilst I have read loads on the internet of how to link the pages, I just cannot grasp the starting pont.


    I suspect that I should save the "basic page" as includes.shtml and then somehow link each bottom page to that, but I cannot get it.

    If I may quote a page without any advertising of course, it's www.c5d.co.uk/notwitter.htm

    All of the black area is one page. Each of the 42 pages have different content on the grey bit.

    Is it practical ? If not what should I do and how would I do it ?

    Thanks for reading

    Antony

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,592
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Hi certificates. Welcome to the forums.

    If this is a static site, then yes, "includes" are a really good idea, as they allow you to edit that content in once place only. They are actually very easy to do (even for a simpleton like me). I would recommend using PHP. Here is a very simple (hopefully!) explanation of how to use PHP includes that I wrote a while back:

    http://pageaffairs.com/notebook/enha...h-php-includes

    See id that makes any sense.

  3. #3
    SitePoint Addict
    Join Date
    Nov 2012
    Posts
    248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks very much.

    The instructions were simple, precise and worked to a tee.

    The one bit I didn't understand was the bit about the ht access file.

    I'll google a bit more.

    My efforts are at www.c5d.co.uk/test.php

    Thanks

    Antony

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,592
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Glad it was of some use. You shouldn't need to worry about .htaccess files if you are using .php file extensions.


Bookmarks

Posting Permissions

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