tomaspitea
Occasional poster
Offline
Posts: 12
|
 |
« on: April 20, 2006, 03:31:51 PM » |
|
Im trying to get a personal "hello message" on top of the first page when someone connect to my server. The problem is that this message is still visible when the user goes to a subfolder in my file system. How can I change my template so my "hello" is ONLY shown when the user is in the root-folder?
|
|
|
|
|
Logged
|
|
|
|
|
Mara
|
 |
« Reply #1 on: April 20, 2006, 06:22:04 PM » |
|
Make page and save it someware. Open hfs and plase the page in "/" directori. Right click on "/" and "Default file mask". Type xxx.html. "xxx" - the name of the page file.
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #2 on: April 20, 2006, 09:59:12 PM » |
|
maybe commenting the root? /
|
|
|
|
|
Logged
|
|
|
|
tomaspitea
Occasional poster
Offline
Posts: 12
|
 |
« Reply #3 on: April 21, 2006, 08:10:26 AM » |
|
Make page and save it someware. Open hfs and plase the page in "/" directori. Right click on "/" and "Default file mask". Type xxx.html. "xxx" - the name of the page file. The "default file mask" works fine now my own html-page is shown first. Thanks for that.  But now I have problem to make the link to the filesystem. My html-file is located in the root-folder What should I write inbetween the "" to get this link to work <a href="">Click here to view my filesystem</a>
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #4 on: April 21, 2006, 08:12:16 AM » |
|
if you have your files in the "files" folder, then put /files as link
|
|
|
|
|
Logged
|
|
|
|
tomaspitea
Occasional poster
Offline
Posts: 12
|
 |
« Reply #5 on: April 21, 2006, 08:28:14 AM » |
|
if you have your files in the "files" folder, then put /files as link no, that not the problem I have a html file called start.html in the root folder. I have made this file as "default file mask" for the root, so when someone goes to my server the get this html-file in there browser. now I want to create i link to my filesystem in this start.html-file, but since it´s already in the root i don´t know how to make the link so it points to the filesystem-template
|
|
|
|
|
Logged
|
|
|
|
|
rejetto forum
|
 |
« Reply #5 on: April 21, 2006, 08:28:14 AM » |
|
Do you like this software?
Consider even $2
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #6 on: April 21, 2006, 08:35:18 AM » |
|
just put your "file system" in a folder in my example the folde is called files since this folder contains not a default file, it will show the template
|
|
|
|
|
Logged
|
|
|
|
|
Martok
|
 |
« Reply #7 on: April 21, 2006, 08:47:15 AM » |
|
I already thought about it: What about a symbol like ~files.lst, for example ~files.dir which would override the default file and always serve the listing?
|
|
|
|
|
Logged
|
Cheers,
Martok
|
|
|
tomaspitea
Occasional poster
Offline
Posts: 12
|
 |
« Reply #8 on: April 21, 2006, 09:03:06 AM » |
|
Now it works just fine! thanks!
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #9 on: April 21, 2006, 09:29:31 AM » |
|
I already thought about it: What about a symbol like ~files.lst, for example ~files.dir which would override the default file and always serve the listing? seems a good idea
|
|
|
|
|
Logged
|
|
|
|
|
Martok
|
 |
« Reply #10 on: April 21, 2006, 09:43:23 AM » |
|
I already thought about it: What about a symbol like ~files.lst, for example ~files.dir which would override the default file and always serve the listing? seems a good idea Good, maybe you can implement it.
|
|
|
|
|
Logged
|
Cheers,
Martok
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #11 on: April 28, 2006, 01:04:13 AM » |
|
implemented in 2.1 as ~nodefault symbol
|
|
|
|
|
Logged
|
|
|
|
|
Martok
|
 |
« Reply #12 on: April 28, 2006, 09:23:04 AM » |
|
implemented in 2.1 as ~nodefault symbol very nice, thank you! btw: are you already having plans about 2.1 release (end of year, before, after...)? EDIT: just seen the sticky topic, it was hidden between all the other sticky ones...
|
|
|
|
|
Logged
|
Cheers,
Martok
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #13 on: April 28, 2006, 11:15:14 AM » |
|
i guess it will take less than a month it depends on my spare time the point in 2.0 been so late was the processQ bug 
|
|
|
|
|
Logged
|
|
|
|
|