rejetto forum
May 24, 2012, 05:35:01 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: I want a message only on the first page  (Read 3667 times)
0 Members and 2 Guests are viewing this topic.
tomaspitea
Occasional poster
*
Offline Offline

Posts: 12


View Profile
« 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
Experienced poster
***
Offline Offline

Posts: 39



View Profile
« 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

Some pics of my temple
-> http://contakt.hit.bg/ <-
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #2 on: April 20, 2006, 09:59:12 PM »

maybe commenting the root?  /
Logged
tomaspitea
Occasional poster
*
Offline Offline

Posts: 12


View Profile
« Reply #3 on: April 21, 2006, 08:10:26 AM »

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. Cheesy


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 Offline

Italy Italy

Posts: 11829


View Profile
« 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 Offline

Posts: 12


View Profile
« Reply #5 on: April 21, 2006, 08:28:14 AM »

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
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 Offline

Italy Italy

Posts: 11829


View Profile
« 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
Experienced poster
***
Offline Offline

Posts: 88

285180864
View Profile
« 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 Offline

Posts: 12


View Profile
« Reply #8 on: April 21, 2006, 09:03:06 AM »

Now it works just fine! thanks!
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #9 on: April 21, 2006, 09:29:31 AM »

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
Logged
Martok
Experienced poster
***
Offline Offline

Posts: 88

285180864
View Profile
« Reply #10 on: April 21, 2006, 09:43:23 AM »

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.
Logged

Cheers,

Martok
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #11 on: April 28, 2006, 01:04:13 AM »

implemented in 2.1 as ~nodefault symbol
Logged
Martok
Experienced poster
***
Offline Offline

Posts: 88

285180864
View Profile
« Reply #12 on: April 28, 2006, 09:23:04 AM »

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...
Logged

Cheers,

Martok
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« 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 Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 18, 2012, 11:09:31 PM
anything