FORUM IS CLOSED. PLEASE USE QUESTIONS / ANSWERS PAGE INSTEAD
Login  |  Forum  |  Search   

Board index » Development » Help requests




Post new topic Reply to topic  [ 10 posts ] 
 
Author Message
 Post subject: Customized Login
 Post Posted: Sat Jun 02, 2012 7:11 pm 
Offline

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.php

I 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 :D


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Sun Jun 03, 2012 8:27 am 
Offline
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.


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Mon Jun 04, 2012 3:16 pm 
Offline

Joined: Sat Jun 02, 2012 6:57 pm
Posts: 10
Thank you. have clicked mistakenly New Topic insted of Post reply.
viewtopic.php?f=7&t=946&p=4192#p4192

I will try it and Post if it has worked.


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Mon Jun 04, 2012 5:35 pm 
Offline

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.


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Mon Jun 04, 2012 5:39 pm 
Offline
Project Developer

Joined: Tue Apr 28, 2009 9:43 am
Posts: 1720
Really? Did you find topic "Change default form HTML"

at the end of this page:

http://www.impresspages.org/docs2/core2/forms/

Or it is not what you need?


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Mon Jun 04, 2012 6:21 pm 
Offline
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.


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Tue Jun 05, 2012 6:18 pm 
Offline

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
Picture01.png [ 16.02 KiB | Viewed 435 times ]

Attachment:
File comment: Picture02
Picture02.png
Picture02.png [ 13.37 KiB | Viewed 436 times ]


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Tue Jun 05, 2012 6:21 pm 
Offline
Project Manager

Joined: Wed Nov 25, 2009 9:40 am
Posts: 421
It's the design. You should understand CSS to change it.


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Tue Jun 05, 2012 6:23 pm 
Offline

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 :(


Top 
 Profile  
 
 Post subject: Re: Customized Login
 Post Posted: Tue Jun 05, 2012 6:40 pm 
Offline
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.


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 10 posts ] 

Board index » Development » Help requests


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron