Log into CMS from website

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 9, 2012   (RSS)

By Mohaukla - April 6, 2012

I have added a login piece into my design and would like to have the client log in from there and end up in the CMS. What needs to be done to make this happen

Current code I have:
<div class="inner">
<div class="csbutton-dark show-top cancel">Cancel</div>
<form autocomplete="off">
<label id="username_label">Username</label>
<input id="top-username" title="Please enter your username" type="text" name="username" class="top-input" size="15" />
<label id="password_label">Password</label>
<input id="top-password" title="Please enter your password" type="password" name="password" class="top-input" size="14" />
<input type="submit" name="submit" class="csbutton-dark small submit" id="submit_button" value="Login" />
</form>
</div>

Could use some help ...

Thanks
Michael
Michael Moyers



Owner of Just Rite Design Inc. A growing network of professionals in web design, graphic design, flash development, programming, and audio & video productions.



"Due to budget constraints, the Light at the end of the tunnel will be temporarily out!"

Re: [justritedesign] Log into CMS from website

By Jason - April 9, 2012

Hi,

If your form is in the same folder as the cmsAdmin folder, you can try this:

<div class="inner">

<div class="csbutton-dark show-top cancel">Cancel</div>

<form method = "post" action = "/cmsAdmin/admin.php" autocomplete="off">
<input type = "hidden" name = "action" value = "loginSubmit" />
<label id="username_label">Username</label>
<input id="top-username" title="Please enter your username" type="text" name="username" class="top-input" size="15" />

<label id="password_label">Password</label>
<input id="top-password" title="Please enter your password" type="password" name="password" class="top-input" size="14" />

<input type="submit" name="submit" class="csbutton-dark small submit" id="submit_button" value="Login" />

</form>

</div>


Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/