Elxis CMS Forum

Support => Technical support => Topic started by: tapaparis on January 16, 2007, 10:29:57

Title: How can I make a seperate login page?
Post by: tapaparis on January 16, 2007, 10:29:57
I am a new user of elxis and I would like to ask how I can make a new seperate login page.

I don't want the Login Form to appear on the home page.

I want to create a stand alone page accessible only by writing its url (i.e. www.myelxisite.gr/logpage.htm) and log in from there.

Is there a way?

Thank you very much in advance,

Paris
Title: Re: How can I make a seperate login page?
Post by: Haic on January 16, 2007, 11:34:11
These url is not yet possible but stay tuned for this year
Title: Re: How can I make a seperate login page?
Post by: datahell on January 16, 2007, 17:49:33
This is something very easy to do.
Take the html output of the Elxis login form and paste it in an html (/php, asp or any other extension) file. Place this file in any directory of your site. The only important thing is that the action of your form should point to Elxis's index.php file.
Title: Re: How can I make a seperate login page?
Post by: koba on February 27, 2007, 22:32:02
The only important thing is that the action of your form should point to Elxis's index.php file.

can you write in details what this means?
Title: Re: How can I make a seperate login page?
Post by: datahell on February 27, 2007, 23:51:01
Any html form starts with this line:

Code: (html) [Select]
<form name="mplampla" method="POST" action="xxxxxxxx">
The only thing you have to do is to add the right action url in your form. This url can be absolute or relative.

Examples for action:
http://www.mysite.com/index.php
index.php
../index.php
elxis/index.php
Title: Re: How can I make a seperate login page?
Post by: koba on February 28, 2007, 10:24:53
sorry but I dont get it :(

can you write it like steps


1. create html / php / file and as you wish
2. copy and paste login form source ( were I can find loging html ? )

and so on plssssss
more details
Title: Re: How can I make a seperate login page?
Post by: datahell on February 28, 2007, 20:42:17
Right click on any Elxis site displaying a login form. Search in code and find the login form. Copy this html and paste it to any php/html/aspl/jsp etc file you wish. Modify the form action to link to Elxis index.php page and the other parameters where needed. You are ready. See the screenshot bellow as an example.

[old attachment deleted by admin]
Title: Re: How can I make a seperate login page?
Post by: koba on March 02, 2007, 00:33:05
:( I done eveyrhitng like you but I miss something, :(

well I found html code of login fprm, and copy it in blank php file, but how to counfigurate and link it to exlis index.php ?

Title: Re: How can I make a seperate login page?
Post by: koba on March 06, 2007, 10:45:24
Quote
<title>login page for BEC</title><table cellpadding="0" cellspacing="0" class="moduletable">
                  <tr>
            <td>
               <form action="http://www.something/login.html" method="post" name="login" >
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
   <tr>
      <td>
      Username      <br />
      <input name="username" type="text" class="inputbox" size="10" />
      <br />
      Password      <br />
      <input type="password" name="passwd" class="inputbox" size="10" />
      <br />
      <input type="checkbox" name="remember" class="inputbox" value="yes" />
      Remember me      <br />
      <input type="hidden" name="option" value="login" />
      <input type="submit" name="Submit" class="button" value="Login" />
      </td>
   </tr>
   <tr>
      <td>
      <a href="index.php?option=com_registration&amp;task=lostPassword">
      Password Reminder      </a>
      </td>
   </tr>
         <tr>
         <td>
         No account yet?         <a href="index.php?option=com_registration&amp;task=register">
         Create one         </a>
         </td>
      </tr>
         </table>


I copy this from login page? and create new login.html page then I upload login page in web directory but i can not conect when I am filling a form ?

can you help me?