Guest wrote:Rejetto
I too would like to have a "home page" with a link to bring up the hfs directory. Of all the great features of HFS this would be the most desireable for many of us, I suspect.
~GeeS~ has his "grey" template posted, and it does this.
You just click on the very large orange address and it changes pages to the hfs directory, and it wasn't set as file mask.
Works great, but I'd like to use my own style, rather than modify someone else's.
Since I'm not good at html, I can't see how it works.
Thanks for the compliments!
In fact for this purpose I've written the "Grey" template; first to have a
public homepage and eventually other pages for my content and secondly
the HFS file directory for down- and upload with password access. So HFS
works perfectly as web- and fileserver at the same time.
Momentarily, but due to lack of time proceeding slowly, i'm trying to pre-
configure a "Default HFS Configuration" which includes the features of a combined file- & webserver.
The basic idea is to have a compressed file (zip, rar or 7z) which by
unpacking results in f.e. C:\Default_HFS\hfs.exe, ...\hfs.tpl, ...\hfs.ini, ...
hfs.vfs and some default subdirectories for upload, download, webpages
(HFS Help, Template Help etc). with some basic (html)-files etc. The user
would have a full preconfigured default web- and fileserver available with
the same effort as just running the hfs.exe distribution, but much more
features. Each user could do it for themself, but in my opinion this would
show the full potential of HFS to new users and add some value to HFS.
I'm also not so good in HTML, in fact the "Grey" template was my first
written HTML, but in fact the principle is quite simple:
In the hfs.tpl, which is in fact a kind of "dynamic index.html" which will be
served when your site is visited, put your hompage-html in the section
[login-link] and the hfs-html in the section [logged-in] of the hfs.tpl file. In
the [login-link] section put a link to href=/~login. This will open the
user:pwd window and execute the html of the [loggedin] section (with the
hfs directories).
Why not start with an existing tpl? Just modify to your taste. See
www.w3.org/MarkUp/Guide/ for intro to HTML.
GeeS