rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Alons0 on January 08, 2007, 08:18:48 PM
-
rejetto when i paste %folder-name% in title, it displays the folder(ex. Music). But when I open root directory it displays "/". Rejetto please remove "/' from the root. I wanna %folder-name% to work only in folder(without "/" in root directory)
-
rejetto when i paste %folder-name% in title, it displays the folder(ex. Music). But when I open root directory it displays "/". Rejetto please remove "/' from the root. I wanna %folder-name% to work only in folder(without "/" in root directory)
unsure this would be a valid behaviour... what if would resolve to (root) ?
-
Having (root) written there would probably be pretty ugly. Maybe Home instead?
-
yes, (home), sorry, i was actually thinking that as you can see in the to-do-list :)
-
yes, (home), sorry, i was actually thinking that as you can see in the to-do-list :)
Not to be (Home), and Home! Please tell me when it will works :o
-
yes, (home), sorry, i was actually thinking that as you can see in the to-do-list :)
Not to be (Home), and Home!
i don't understand your last reply ???
-
I mean not to be in brackets ::)
-
You can do this with javascript :)
<script language="javascript">
var home='%folder%';
if (home=='/')
{
document.write ('<title>FileServer :: Home</title>')
}
else
{
document.write ('<title>FileServer :: %folder%</title>')
}
</script>
Just replace this with the current <title> - </title> tags inside the <head> section
-
There must be a way to understand this "home" thing is a special place, and not the name of the folder. That's why the brackets.
With no brackets, i think it is better to be an empty string.
-
<script language="javascript">
var home='%folder%';
if (home=='/')
{
document.write ('<title>FileServer :: Home</title>')
}
else
{
document.write ('<title>FileServer :: %folder%</title>')
}
</script>
or simpler
document.write ('<title>FileServer :: '+('%folder%'=='/' ? 'Home' : '%folder%')+'</title>');
-
or simpler
document.write ('<title>FileServer :: '+('%folder%'=='/' ? 'Home' : '%folder%')+'</title>');
riiiight...
From now on ::), just listen to Rejetto
-
There must be a way to understand this "home" thing is a special place, and not the name of the folder. That's why the brackets.
With no brackets, i think it is better to be an empty string.
..::%folder-name%::.. , in title section, will display ..::Home::.. in root and i dont't want to be in brackets :'(
-
or simpler
document.write ('<title>FileServer :: '+('%folder%'=='/' ? 'Home' : '%folder%')+'</title>');
where to paste it?
-
<script language="javascript">
document.write ('<title>FileServer :: '+('%folder%'=='/' ? 'Home' : '%folder%')+'</title>');
</script>
replace the current <title> code inside your template with the code shown above. :)
-
Rejetto please do this: %folder-name% in title in root directory to display Home without brackets. Pleaseeeeeeeeeee
P.S. I don't want to use java script for title
-
and what if someone wants to display "maison" ?
what HFS will display should not depend only on your personal needs, but should match most users.
"Home" may be the right thing, but i'm unsure because it may be confused with a folder named "Home". I would like to read some opinion, before taking a decision.
-
and what if someone wants to display "maison" ?
Exactly!
Leave it as it is: just / , a valid sign in any language, just my 2cents.
-
and what if someone wants to display "maison" ?
Exactly!
Leave it as it is: just / , a valid sign in any language, just my 2cents.
I agree with ~GeeS~. I do not understand why a change is needed. Leave it as it is "/" which everybody understands in any language. Just my 2 cents too. So that's a total of 4 cents. :D
-
I also agree that it should remain a slash "/"
-
Should be a '/' or 'Root folder display as...' option. I'm happy with '/'.
MarkV
-
Hmm in root directory %folder-name% display nothing(without /)will be good - the symbol to work when we're in a folder.
-
display nothing?
i just tested and it displays /
what you mean?
-
display nothing?
i just tested and it displays /
what you mean?
It will be good to display nothing. I wanna work only in folder.
-
let's make a poll