| Author |
Message |
|
darktank
|
Post subject: Customized Login Posted: Sat Jun 02, 2012 7:11 pm |
|
Joined: Sat Jun 02, 2012 6:57 pm Posts: 10
|
Hi @ all, i have a question about the login system. I have found this in the net: http://demo.tutorialzine.com/2009/10/co ... y/demo.phpI have integrated the Slide down to IP. Now i want the Loginfields in the Slidedown to send the Username and passwort to IP. How can i do that. I think i have a solution. I put the Login Form of IP to the same place where the original form is, but i dont liek the design of the Form of IP. Therefore either i have to change the design of IP‘s Form or i have to bring the Fields of the Slide down to send the Datas. Hope that anyone can help me. Please dont laugh about my english skills. I know: Its nothing to make a song about ^^ Best regards from Germany 
|
|
 |
|
 |
|
maskas
|
Post subject: Re: Customized Login Posted: Sun Jun 03, 2012 8:27 am |
|
 |
| Project Developer |
Joined: Tue Apr 28, 2009 9:43 am Posts: 1720
|
I think you are on the right track. Replace original "slide" form with ImpressPages form and tweak CSS to look nice. If you like to change default login form HTML, you need to override default login widget view: ip_cms/modules/community/user/widget/IpUserLogin/preview/default.php Within this file you will see only one line that prints the whole form: <?php echo $loginForm->render(); ?> read at the end of this manual on how to pass your own view to form generation class: http://www.impresspages.org/docs2/core2/forms/There is a complete example how to override default login HTML.
|
|
 |
|
 |
|
darktank
|
Post subject: Re: Customized Login Posted: Mon Jun 04, 2012 3:16 pm |
|
Joined: Sat Jun 02, 2012 6:57 pm Posts: 10
|
|
 |
|
 |
|
darktank
|
Post subject: Re: Customized Login Posted: Mon Jun 04, 2012 5:35 pm |
|
Joined: Sat Jun 02, 2012 6:57 pm Posts: 10
|
|
Ok. I looked threw the docs but found nothing. There is only the possibility to edit the form. If you want more fields etc. But i want to edit the design.
|
|
 |
|
 |
|
maskas
|
Post subject: Re: Customized Login Posted: Mon Jun 04, 2012 5:39 pm |
|
 |
| Project Developer |
Joined: Tue Apr 28, 2009 9:43 am Posts: 1720
|
|
 |
|
 |
|
Audrius
|
Post subject: Re: Customized Login Posted: Mon Jun 04, 2012 6:21 pm |
|
 |
| Project Manager |
Joined: Wed Nov 25, 2009 9:40 am Posts: 421
|
|
Other design is all about your theme (default at ip_themes/lt_pagan/). There are CSS files and allows you to alter the design.
|
|
 |
|
 |
|
darktank
|
Post subject: Re: Customized Login Posted: Tue Jun 05, 2012 6:18 pm |
|
Joined: Sat Jun 02, 2012 6:57 pm Posts: 10
|
Ok... Maybe i have not understand it yet. I just want the design of the login like Picture01 and not Picture02. Attachment: File comment: Picture01
Picture01.png [ 16.02 KiB | Viewed 435 times ]
Attachment: File comment: Picture02
Picture02.png [ 13.37 KiB | Viewed 436 times ]
|
|
 |
|
 |
|
Audrius
|
Post subject: Re: Customized Login Posted: Tue Jun 05, 2012 6:21 pm |
|
 |
| Project Manager |
Joined: Wed Nov 25, 2009 9:40 am Posts: 421
|
|
It's the design. You should understand CSS to change it.
|
|
 |
|
 |
|
darktank
|
Post subject: Re: Customized Login Posted: Tue Jun 05, 2012 6:23 pm |
|
Joined: Sat Jun 02, 2012 6:57 pm Posts: 10
|
where can i find the css files? I can css but i do not know what i have to change :S I cant find any css files... Usually the css files are in php/html or in another file which is refered in the php. But i can not find any file. Im a bit confused now 
|
|
 |
|
 |
|
Audrius
|
Post subject: Re: Customized Login Posted: Tue Jun 05, 2012 6:40 pm |
|
 |
| Project Manager |
Joined: Wed Nov 25, 2009 9:40 am Posts: 421
|
|
Everything is referred and I already wrote where to find it.
Themes are placed in /ip_themes/ folder. One folder per theme. Default theme is called "LT pagan" and all files that defines it can be found in /lt_pagan/ folder (inside /ip_themes/ folder).
All HTML can be found in main.php file (there are all required references) and CSS is in site.css (for layout) and ip_content.css (for content, mostly widgets). Therefore, form styles can be altered in ip_content.css.
I hope this helps.
|
|
 |
|
 |
|