Results 1 to 4 of 4

Thread: One change to change em all...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2006
    Location
    From the UK
    Posts
    422

    Exclamation One change to change em all...

    Ok as far as I can tell the great thing about frames was that if you changed the content of the frame it would show up on every single page with that frame...

    Now we are all being pushed into using CSS and away from frames and even tables...

    Well the problem I'm having is that I have a menu bar and a navigation bar on my page. Basically, when I change an item on one I want it to update/show on all pages with that menu or navigation bar.

    Changing each page individually seems so wrong, what is the correct way please???

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: One change to change em all...

    Use some server-side way of composing parts into a whole page. Server-side includes (SSI) is the simplest of such technologies, but of course every server-side scripting language supports it, too. (ASP, PHP, ...)
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2006
    Location
    From the UK
    Posts
    422

    Re: One change to change em all...

    Thx for that, I think I have seen PHP used to do this (like in blogs)...

  4. #4
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: One change to change em all...

    Yep, PHP is the method i use, creating one standard template, then pushing the content upon that.

    Easy, and a great method of using PHP for CMS (Content Management System)

Posting Permissions

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



Click Here to Expand Forum to Full Width