rejetto forum

I want a message only on the first page

0 Members and 1 Guest are viewing this topic.

Offline tomaspitea

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
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?


Offline Mara

  • Occasional poster
  • *
    • Posts: 39
    • View Profile
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.
Some pics of my temple
-> http://contakt.hit.bg/ <-


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline tomaspitea

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
Quote from: "Mara"
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. :D


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>


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
if you have your files in the "files" folder, then put /files as link


Offline tomaspitea

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
Quote from: "rejetto"
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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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


Offline Martok

  • Occasional poster
  • *
    • Posts: 88
    • View Profile
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?
Cheers,

Martok



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Quote from: "Martok"
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


Offline Martok

  • Occasional poster
  • *
    • Posts: 88
    • View Profile
Quote from: "rejetto"
Quote from: "Martok"
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.
Cheers,

Martok


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline Martok

  • Occasional poster
  • *
    • Posts: 88
    • View Profile
Quote from: "rejetto"
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...
Cheers,

Martok


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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 ;)