Login
Register
Menu
Home
Help
Search
rejetto forum
PROBLEMS? QUESTIONS? CLICK HERE!
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
User Created Section's eg "/~example"
User Created Section's eg "/~example"
Foggy
·
5 ·
1909
« previous
next »
Print
Pages:
1
0 Members and 1 Guest are viewing this topic.
Foggy
Tireless poster
Posts:
806
User Created Section's eg "/~example"
on:
January 08, 2008, 08:34:27 AM
Now that we have macro's and can include server side scripting would it be possible to be able to access user created section's from any folder instead of just the server root, much like how you can call ~upload from any folder.
rejetto
Administrator
Tireless poster
Posts:
13510
Re: User Created Section's eg "/~example"
Reply #1 on:
January 08, 2008, 09:37:37 AM
moving the mains section to [main]
since you have macros, you can do
{{if|{{?my}}|{{\{{$my}}/}} |{{\{{$main}}/}}
and use ? instead of ~
or maybe
{{dequote|{{or|{{${{?s}}}}|{{\{{$main}}/}}/or}}/dequote}}
with ?s=nameOfSection
anyhow, i'm considering other ways
Mars
Operator
Tireless poster
Posts:
2059
Re: User Created Section's eg "/~example"
Reply #2 on:
January 08, 2008, 10:02:09 AM
foggy to help you,
at this time
you can use a virtual folder named '~user' and use to it a special diff template
you put your url follow by /f1/f2/~user
rejetto why not give possibility to access all section anywhere in the url by using ~section as works ~login?
rejetto
Administrator
Tireless poster
Posts:
13510
Re: User Created Section's eg "/~example"
Reply #3 on:
January 08, 2008, 10:09:43 AM
because ~section is a valid filename, and thus may collide with files.
it's better to find other solutions.
Foggy
Tireless poster
Posts:
806
Re: User Created Section's eg "/~example"
Reply #4 on:
January 08, 2008, 01:24:22 PM
Quote from: rejetto on January 08, 2008, 09:37:37 AM
since you have macros,
That was what I was thinking of doing if it wasn't possible because I think I may have brought this suggestion up once before(but couldnt find it) and it wasn't possible. I see why it isnt possible now because of the filenames, so I'll just use urlvar's instead.
Print
Pages:
1
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
User Created Section's eg "/~example"
Search
Username
Password
Always stay logged in
Forgot your password?