coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: fbattikha on March 24, 2005, 06:15:58 PM

Title: user login
Post by: fbattikha on March 24, 2005, 06:15:58 PM
Hey guys, i've made a page in html, and i've place a login area on it, how can i make it integrate with coppermine?
help is greatly appreceated ;)
Title: Re: user login
Post by: sabrewolf on September 09, 2005, 01:06:19 AM
I don't know if you have already solved this issue, but if you have put a login on your html page i assume you have used the <form> tag. In which case, you only have to make sure that the fields are named correctly and that the form points to login.php (wherever it's located) The textfields need to be named "username" and "password", not really nuclear science there, and the submit button needs to be named "submitted". If you want to use a custom gif as your submit button you could use the <style> tag, example posted here:   

<input name="submitted" type="submit" id="submitted"  style="background-image:url(yourimage.gif); width:15px; height:16px; border:0; color:#036;font-family: Verdana; font-weight: bold;" value="" /> //or something like it...

Hope this helps you or someone else :-)



Title: Re: user login
Post by: Joachim Müller on September 09, 2005, 08:57:14 AM
just go to coppermine's login page, view the html output (not the source code of login.php, but the html output it generates) and copy'n paste the stuff between <form ...> and </form> into your html page.