Results 1 to 8 of 8
  1. #1
    ABW Ambassador John Kruger's Avatar
    Join Date
    January 18th, 2005
    Location
    At my computer
    Posts
    645
    I got rid of the frames on my page, but to keep the look and feel the same, everypage now contains the same code for the header, columns and footer. Is there a way I could reference this from a single source instead of maintaining it on every page?

    Thanks

  2. #2
    ABW Founder Haiko de Poel, Jr.'s Avatar
    Join Date
    January 18th, 2005
    Location
    New York
    Posts
    21,609

  3. #3
    Member
    Join Date
    January 18th, 2005
    Posts
    161
    Tell us if you're server runs php, if so, I'll post an example for you...

  4. #4
    ABW Ambassador John Kruger's Avatar
    Join Date
    January 18th, 2005
    Location
    At my computer
    Posts
    645
    Haiko,
    Thanks for the link. I did see this thread earlier, but I was uncertain if that would address the issue I was thinking about. With a little further reading, it is a good place to get started.

    Thanks

  5. #5
    ABW Ambassador John Kruger's Avatar
    Join Date
    January 18th, 2005
    Location
    At my computer
    Posts
    645
    Done, and I think this revelation is just the beginning.

    Will all browsers pick up and us index.shtml just as they would index.html?

  6. #6
    Full Member c4's Avatar
    Join Date
    January 18th, 2005
    Posts
    488
    Yup, it will. SSI ( = shtml) is proccessed by on the server and has no effect whatsoever on the browser (computer, system, ...). Your site will look the same.

    [ 08-08-2002: Message edited by: c4 ]

  7. #7
    Newbie
    Join Date
    January 18th, 2005
    Posts
    15
    You can use .html and I prefer using .html just because I like to make it seem like there is absolutely no difference from my page and a non-dynamic page (for the engines). If you want to do this, you may need to add this to your .htaccess file:

    AddType text/x-server-parsed-html .html .shtml

    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Will all browsers pick up and us index.shtml just as they would index.html?<HR></BLOCKQUOTE>

    Do you mean as in if your path to file was /mysite/index.html you could also access it by just /mysite without the index.html? If so, it depends once again on your server. However, it is easy to fix if your server doesn't support making index.shtml the index file. Just add this line to .htaccess:

    directoryindex index.html index.shtml

    That's a list of files which can be used as index files. You could also add index.php, index.cgi, or whatever.

  8. #8
    ABW Ambassador John Kruger's Avatar
    Join Date
    January 18th, 2005
    Location
    At my computer
    Posts
    645
    Jack AMT

    Thanks for the hints.

    John

  9. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Help with Frames
    By UKJ in forum Programming / Datafeeds / Tools
    Replies: 7
    Last Post: June 21st, 2005, 12:28 PM
  2. Frames? do you suggest frames or no frames.
    By jc101 in forum Virtual Family and Off-Topic
    Replies: 8
    Last Post: November 12th, 2002, 01:18 PM
  3. Help w/frames..
    By sierrarose in forum Programming / Datafeeds / Tools
    Replies: 5
    Last Post: July 10th, 2002, 12:26 PM

Posting Permissions

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