how to make one menu file to serve through the entire site

Discussion in 'Site & Server Administration' started by #Darren, Jun 13, 2006.

  1. #1
    Hi,

    I have a basic menu system that runs throughout every page of my website, and it is coded in simple html on every page. If I want to change the menu, I have to manually change every page on the site.

    I understand that it is possible to create a single menu file that loads throughout the entire site.

    Can anybody here point me to a good online tutorial to do this, or possibly give me some simple advice?

    I have searched google, but can't find anything on the subject (at least that I can understand :D.)

    Thanks,

    Darren.
     
    #Darren, Jun 13, 2006 IP
  2. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #2
    frankcow, Jun 13, 2006 IP
  3. NoobieDoobieDo

    NoobieDoobieDo Peon

    Messages:
    1,456
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #3

    exactly. SSI rocks majorly. I wish my free host would let me use it, I could save ALOT of time.
     
    NoobieDoobieDo, Jun 13, 2006 IP
  4. #Darren

    #Darren Guest

    Messages:
    116
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the info.

    Am I right in understanding that to use server side includes I would need to rename every menu page shtml ?

    If so, is there a way to achieve my goal without such extensive changes?

    Sorry for my ignorance, just want to keep this as simple as possible:) .

    Darren.
     
    #Darren, Jun 13, 2006 IP
  5. RectangleMan

    RectangleMan Notable Member

    Messages:
    2,825
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    210
    #5
    Use php includes instead...also you can use .htaccess so that the html pages parse as php.

    Then use a good program to fix all your file with find and replace.
     
    RectangleMan, Jun 15, 2006 IP