rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Tech-Marty on February 15, 2014, 09:52:18 PM

Title: HTML @ root
Post by: Tech-Marty on February 15, 2014, 09:52:18 PM
I should be able to figure this out, but haven't yet.
I implemented HFS in a high school environment in hopes that classes could go almost paperless.

It's working well so far from the teacher feedback I've received.

I'm trying to use HTML simple web pages as links to teacher folders and class period folders.

It works great until I put a page in root, then it seems that the hfs.tpl won't display properly further down in the folder hierarchy. There is no background, all justification is to the left, the boxes normally on the left like login box, actions box are the entire width of the page.

This is hard to explain, if you would like to see my problem, I can send you a link to my test server at home.

Title: Re: HTML @ root
Post by: rejetto on February 16, 2014, 12:54:50 PM
ok, let's try.
send the link privately to
and please in the email link this topic
Title: Re: HTML @ root
Post by: Tech-Marty on February 16, 2014, 04:09:00 PM
Thank you for looking into this for me.
I think I have it figured out, although I'm not sure why I had to make the changes I did.

These 2 entries were in the HFS onscreen log file:
Requested GET /?mode=section&id=style.css
Requested GET /?mode=section&id=lib.js

The /?mode=section&id=lib.js was the error IE 8 was giving me.

I know some basic HTML programming, and a little javascript,and nothing about css.
I decided to try to edit my default template and remove the / in both entries and it works just great now.

Maybe someone could explain why I had to do this to make it work.

Thank you again...I think HFS great, teachers and studentsboth love how easy it is to use!
Title: Re: HTML @ root
Post by: rejetto on February 16, 2014, 07:28:53 PM
i clicked the link just as a test but had no time to look at the problem yet.
i'm not home
Title: Re: HTML @ root
Post by: crazyboris on February 23, 2014, 09:22:49 AM

look at this.
( (

see the / at the end.
same happends on your page.
so your "links" is /?mode=section&id=lib.js

therefor you will get 2 /
it will be like that.
Title: Re: HTML @ root
Post by: bmartino1 on February 28, 2014, 06:53:52 AM
if you have the files added to your hfs and have permission flags: hidden / don't log/ broweserable....

in html:

css file:
in html code having this line adjusted to your path in the head tags
<link href="" rel="stylesheet" type="text/css" />

:: and some where in between the body and the head the java script:

<script src=""></script>
adding these to your html code will grantee that the files will load with the pages, if this issues hasn't been fixed...

This will make any html page lad these scripts in the event they need them...

Good luck, i have pitched this to my local High school for basic web page test and development, and it was a hit for the class...
**Also make sure your schols network admin known as he/she may block it due to what it is...
(portabe web server... some school network admins don't want this on there network...)