New Page 2
  News
Staff
Job Positions
Friends
Contact
News Archive
Shadeslayer Store
Competitions
  Editorials
     
Tialdari Hall
     
The Spine

Eragon
Eldest
Book III
Cover Art
Christopher Paolini
Newsletters
Buy a Copy

Eragon
Cast & Crew
Video Game
Merchandise

Characters
Magic
Dragons
Dragon Riders
Elves
Ra'zac
Shades
Urgals
Ancient Language
Dwarf Language
Urgal Language
Pronunciation
Places
Weaponry

Fan Fiction
Away Messages
Obsessed?
Fake Titles
Fan Profiles

Forums
Galleries

Wallpapers
AIM Icons
Avatars
Themed Music
Comparisons
Webmaster Help


 

SSI (Server Side Includes)

Most large websites contain many pages of content. Has it ever occured to you how the webmasters are able to update every page's navigation bar without updating each page manually? There are actually many solutions to this problem, and server sided includes is just one option. Be sure to check out our PHP Includes page for information on how to do this using PHP (i.e. the way we did it at Shadeslayer).

What exactly is a "server sided include"? Basically, it "includes" a certain HTML file into the designated place on your page. Try out the tutorial below to see what exactly does that mean. However, please check with your host whether it supports SSI before trying the tutorial below - because if it doesn't, your page simply will not work.

To begin with, change all your HTML files into SHTML files by changing the extention. Usually .shtml or .shtm works fine.

Then in something like word pad, put in the text/HTML that you want added onto your page (this is the section that appears on most sites, like the navigation or title). Save it as either a .html or .txt file.

On your .shtml document, place the following code where you want the text/html file to be "included":

<!--#include file="filename.extension" -->

For example, on the old sites that I made, we used nav.html control the nav bar. Where we want the navigation bar, we simply put in:

<!--#include file="nav.html" -->

You can have as many codes as you want on the site (Muggle Pride used to have around 6) to keep it organized. Have fun, and save your updating time for something more worth the time.

   
   
Legal Disclaimer


Legal Disclaimer
: Shadeslayer.com is an unofficial Inheritance fan site.  We did not create Eragon or any other characters in the Inheritance Cycle.  We have no direct contact with Christopher Paolini, his agents, Random House Press, Fox 2000 or any other related parties.  All content © Shadeslayer.com 2005-2008, unless stated otherwise. Feel free to contact us if you have any questions or concerns.

Shadeslayer.com is non-commercial and hosts advertisements only to pay for hosting, contests and other website-related expenses.

Layout Design by Xaler Studios

PHP Scripting and Coding by Erica


Warning: main(/home/grego18/public_html/shadeslayer/poll/booth.php) [function.main]: failed to open stream: Permission denied in /home/grego18/public_html/shadeslayer/includes/rnav.htm on line 31

Warning: main() [function.include]: Failed opening '/home/grego18/public_html/shadeslayer/poll/booth.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/grego18/public_html/shadeslayer/includes/rnav.htm on line 31

Fatal error: Call to a member function on a non-object in /home/grego18/public_html/shadeslayer/includes/rnav.htm on line 32