Jump to content

Front page login button missing


iamalive

Recommended Posts

Hi

 

I've added the login form to the front page of my site and it works fine. However, my experience tells me, if it isn't obvious, then it causes problems!

 

<form method="post" action="yourdomain.com/whmcs/dologin.php?goto=clientarea">

Email Address: <input type="text" name="username" size="50">

Password: <input type="password" name="password" size="20">

<input type="submit" value="Login">

</form>

 

 

There is no "Login" Button incorporated in the script - users should just know that they use the "Enter" key. Sorry, but they don't. Can you tell me how to change the script so that it produces a Login button? That would be really helpful. I suggest it also becomes a standard feature in the script.

 

Thanks for this great forum - it's appreciated!

Regards

Link to comment
Share on other sites

I'm afraid it doesn't.

 

I've put the code as is on a webpage and it doesnt, and I've tried in an html editor and it doesn't. That's what I mean. Two different systems, local and on the web and it doesn't show a button. You can see what I mean at webhost4u.ch on the front page (It's a work in progress).

 

Regards

Link to comment
Share on other sites

I'm afraid it doesn't.

 

I've put the code as is on a webpage and it doesnt, and I've tried in an html editor and it doesn't. That's what I mean. Two different systems, local and on the web and it doesn't show a button. You can see what I mean at webhost4u.ch on the front page (It's a work in progress).

 

Regards

I tried the link, but it's just going to a Plesk Welcome page right now, so I can't see the code. You should definitely have a button using that form code.

Link to comment
Share on other sites

There's something very strange going on with this site - The source code shows what you say, but the actual code I've entered is correct. There are some other errors shown in the source code, which don't exist either. I'm going to have to dig a lot deeper.... :-(

 

Thanks for the help, though.

Link to comment
Share on other sites

When dealing with Smarty and PHP in general, you need to look "above" the error you're seeing, since sometimes errors will "cascade" from the actual source. A missed (or extra) quote or a comma somewhere will make the parser think it's to do something differently.

Happens frequently.

 

Holler if we can help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated