rejetto forum

html code

0 Members and 1 Guest are viewing this topic.

Offline Dragon_Hunter

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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i get the login dialog.
but i don't have a password so i cant see anything else.


Offline Dragon_Hunter

  • Occasional poster
  • *
    • Posts: 52
    • View Profile
You can test this Nick: Guest  Pass: guest


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
you did something wrong with your template.
where's the stuff meant to be accessed? in folders?


Offline Dragon_Hunter

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


Offline rejetto

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


Offline Dragon_Hunter

  • Occasional poster
  • *
    • Posts: 52
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
right click on the root/home > properties > diff template


if you already have something there, then put my text to the end of it.


Offline Dragon_Hunter

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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
how can i help you?

you didn't say much about what the problem is.


Offline Dragon_Hunter

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


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
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
« Last Edit: February 14, 2010, 07:23:19 PM by Mars »


Offline Dragon_Hunter

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


Offline Mars

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





Offline Dragon_Hunter

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