I've been pulling my hair out with this problem and I don't know how to solve it.
Anyone can help give me some overall direction on what I should try to make my site function as it needs to without server-side coding?
Eventually I'll need to link to these all through ANGEL so students can take the course. I envision this site as a 4 volume interactive textbook. Each volume (1 year of study) will have chapters with videos, tests, content, etc. So I need a navigation system within each chapter that provides visual indicators of progress as well as ability to move through content. I also need a menu system that would allow the user to move to other chapters or other volumes. I've got the navigation system for an individual "chapter" under control, but the menu system for the whole site is the problem because I'd like this to be an external file, so I only need to change code in one place as I add chapters and volumes.
I read some posts on this forum in which people were very anti-iframes. I don't know why exactly iframes are a problem, I don't know why my code wasn't working in IE and what other options I have to accomplish what I need to do.
You don't indicate which web
You don't indicate which web server your host is using: Apache? IIS? I assume it's a Windows machine, because Linux nearly always has a LAMP installation (Linux/Apache/MySQL (or PostgreSQL)/PHP).
See MSFT-Using server side includes for IIS web servers. See Apache Tutorial: Introduction to Server Side Includes for Apache web servers.
I believe they're running
I believe they're running Windows (IIS?). I do know that the media server has sharepoint and I have to access it with IE in order to fully utilize the features.
Thanks for the links. Hmm... I don't think they must have the server set up to accept server-side includes, because I just tried uploading a file that included this code:
<!--#echo var="DATE_LOCAL" -->
and it didn't return a date. That is unless I'm doing it wrong. Actually, I forgot to make the file .shtml. Once I called it .shtml, the server would no longer allow me to upload the file.
Unfortunately, if it is a matter of the server not currently set to enable server-side directives (or even files with that content), I really doubt that our IT department would be willing to make those adjustments. But I'll ask.
Good luck. SSIs are bog
Good luck. SSIs are bog standard, but then, you're dealing with a Windows shop. :shrug:
Charred wrote: ... <!--#echo
<!--#echo var="DATE_LOCAL" --> ...
What year are you posting from?
Do you have to use these includes? Do you not have the ability to use .NET?
@V: 2011, maybe? Server based
2011, maybe? Server based includes are a common, if not sexy-new, means of using included files. He tried PHP, which is platform independent, and which his IT won't (won't, not can't) install. .NET is not platform agnostic. To run from a *nix environment requires supporting conversion-ware such as Mono.
If the OP is, and will always be, in a MSFT house, .NET may be a solution, but no better than SSI, and lacking portability.
Using .NET I haven't touched
Using .NET I haven't touched an include for years. I did have to maintain a classic ASP site that used them (poorly, may I add) but that was in 2007. I'm just saying there are better ways of doing things and I don't think using an include directive is that great of an idea.
Unfortunately, my .NET suggestion isn't something you'll just be able to copy and paste together from bits on the internet. Do you have the ability to hire out?
I haven't heard back from IT
I haven't heard back from IT about allowing server-side scripting on their machines.
Unfortunately, we have no ability to hire out. I'm stuck with an IT group that doesn't want to change the way they've done things for many years and an institution that can't (or is unwilling to) afford to hire a programmer, so I get to pretend like I'm a real web programmer. I'm already doing stuff that, from their perspective, is cutting edge, even though it would really be newbie stuff from the perspective of anyone around here.
I can investigate options for off-site hosting, but I've already gently prodded in that direction and that went over like a ton of bricks.
I can also try and learn .net if it would be a solution to my problems. I don't know what is the better way, so I need more knowledgeable people help me figure out another way to skin this cat (i.e., try another of the many workarounds I've tried to develop the kind of site I need to create within the limitations set by my IT dept). If .net is the way to go, are there tutorials or some other online resources that might explain how?