Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: incrediBILL
You can do quite a bit with XSSI (extended server-side includes), such as using logic and query strings to determine what you want to include, manipulate templates based on time, browser detection and other stuff. Nice little webmaster tool to have.
SSI isn't default for most web servers so your hosting co. may have to "turn them on" if they don't work for you right away.
Try this url for more info:
What type of server are you on and do you have any scripting languages available? These two answers would give us the information to give you a better answer.
All servers/scripting languages have methods of including files within other files but it is dependant on what you have available.
In case you want to know, if we Homestead users want to add code to our WYSIWYG pages, we use "HTML snippets." There are two things I would like to do using those snippets.
1. Make one navigation HTML file that can be read from an HTML snippet on each page. That way I can change the navigation in the future and only have to do it one time, instead of over 125 times.
2. Place a text messsage in an external file that can be read from an HTML snippet on each page that will display any message such as the copyright date, or whatever message I might want to display on all pages. Much easier than doing one page at a time.
I know you can do something similir using frames, but many people hate frames, so I would like to find another way (that will also work with most browsers).