rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Dragon_Hunter on February 10, 2010, 07:55:21 PM

Title: html code
Post by: Dragon_Hunter on February 10, 2010, 07:55:21 PM
Hey!

is anyone good at html code?

http://hfs-server.no-ip.org:8080/

And also that when it is in right computer i can't get the login too work, but when i have it on my other computer then i get it too work. because when i try too log in, it can't go further and don't know why, and i have made so it shall go further to another site...

anyone knows what is wrong?
Title: Re: html code
Post by: rejetto on February 11, 2010, 09:32:23 AM
i get the login dialog.
but i don't have a password so i cant see anything else.
Title: Re: html code
Post by: Dragon_Hunter on February 11, 2010, 11:27:24 AM
You can test this Nick: Guest  Pass: guest
Title: Re: html code
Post by: rejetto on February 11, 2010, 12:30:57 PM
you did something wrong with your template.
where's the stuff meant to be accessed? in folders?
Title: Re: html code
Post by: Dragon_Hunter on February 11, 2010, 01:20:15 PM
when logg in on from the index file, then should be logged in on the temple file. so instead for logging in twice you only be logged in once and that is when when logged in on the temple file..

so basicly when logged in on the index file then you should always be logged in...
Title: Re: html code
Post by: rejetto on February 11, 2010, 03:22:06 PM
indeed you are logged in.
but you always just get the index file.
you should rename the index file to "login.html"
then put this diff template

Code: [Select]
[]
{.if|%user%
|{:{.section||back=1.}:}
|{:{load|/login.html.}:}
/if.}

i did not test it
Title: Re: html code
Post by: Dragon_Hunter on February 11, 2010, 05:06:00 PM
where in diff temple should it be ?
Title: Re: html code
Post by: rejetto on February 12, 2010, 09:42:27 AM
right click on the root/home > properties > diff template


if you already have something there, then put my text to the end of it.
Title: Re: html code
Post by: Dragon_Hunter on February 12, 2010, 08:10:00 PM
i've tried it and i didn't get it too work.. Could you help me to make a html page that works to hfs ?
Title: Re: html code
Post by: rejetto on February 13, 2010, 04:51:28 PM
how can i help you?

you didn't say much about what the problem is.
Title: Re: html code
Post by: Dragon_Hunter on February 14, 2010, 03:50:03 PM
Hey ! did as you told me to do but it works. So I would need some help with building a site so you can log on.
http://hfs-server.no-ip.org:8080/ Nick: Guest Pass: guest
Title: Re: html code
Post by: Mars on February 14, 2010, 07:18:13 PM
on your server you make a mistack of macro syntax

Quote
{load|/login.html.}


{.load||/login.html.}


I suggest you to check in the menu > Virtual File System  >> List protected only ......

this will mask protected items from any unallowed accounts
Title: Re: html code
Post by: Dragon_Hunter on February 14, 2010, 08:49:40 PM
Hey !
Thank you in Mars ... Can you check if it works now or if I need to do something more to get the page to work
Can we have a loggout page now that we have it in html or?
Title: Re: html code
Post by: Mars on February 14, 2010, 09:08:15 PM
when connecting , there is a white page

at your url i must add  ~login    to be allowed to acces your server

http://hfs-server.no-ip.org:8080/~login



Title: Re: html code
Post by: Dragon_Hunter on February 14, 2010, 10:35:37 PM
I have so here on my side
But I have to get a loggout page so you can loggout
For you are logged into the side even though they have closed the page
http://hfs-server.no-ip.org:8080/~login
Title: Re: html code
Post by: rejetto on February 16, 2010, 03:58:50 PM
there's no logout available at the moment, sorry.
read the FAQ.
Title: Re: html code
Post by: dietcoke2am on February 17, 2010, 08:39:57 AM
there's no logout available at the moment, sorry.
read the FAQ.

Clearing the cache/cookies does this. How about just that on a tpl call? Then back to base or ~url.
Title: Re: html code
Post by: rejetto on February 17, 2010, 10:10:10 AM
welcome dietcoke2am.
HFS currently does not use cookies. when it will, it will be easy.
and it's not a matter of cache, the login is stored temporarily in a different place, that i don't know how to clear (probably i can't).