Keyword

customize a registration form under K2

  • Alaabouch
  • Alaabouch's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #154445 by Alaabouch
customize a registration form under K2 was created by Alaabouch
Hi,

I try to customize a registration form under K2 ! how to do it please and thank you...

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #154467 by Krikor Boghossian
Replied by Krikor Boghossian on topic customize a registration form under K2
Hello,

You need to override the register.php file. You will find here more information on overrides - getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

Please Log in or Create an account to join the conversation.

  • Alaabouch
  • Alaabouch's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #154484 by Alaabouch
Replied by Alaabouch on topic customize a registration form under K2
Hello and thank you for your attention,

here is my form page : www.aidepharmacien.ma/index.php/component/users/?view=registration&tmpl=blankpage




and I seek to replace the field "description" for a field of type "drop-down list". do I change just in the php code or I have to touch the database ?

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Elite Member
More
8 years 11 months ago #154487 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic customize a registration form under K2
Hi,
What data will be used in the drop-down list ?

Please Log in or Create an account to join the conversation.

  • Alaabouch
  • Alaabouch's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #154504 by Alaabouch
Replied by Alaabouch on topic customize a registration form under K2
Hi,

list of cities

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #154519 by Krikor Boghossian
Replied by Krikor Boghossian on topic customize a registration form under K2
I would suggest using a plugin, or developing your own (it's pretty easy).
For a starting point you can use this extension: github.com/getk2/user-extended-fields-for-k2

Please Log in or Create an account to join the conversation.

  • Alaabouch
  • Alaabouch's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #154589 by Alaabouch
Replied by Alaabouch on topic customize a registration form under K2
Thank you very much for your answer. I finally dared to install a plugin and here are the results

www.aidepharmacien.ma

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #154606 by Krikor Boghossian
Replied by Krikor Boghossian on topic customize a registration form under K2
Seems nice, although my French is really terrible.
www.aidepharmacien.ma/index.php/component/users/?view=registration

Is this a custom login from your template or are you using the fields from UEF?

Please Log in or Create an account to join the conversation.

  • Alaabouch
  • Alaabouch's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #154621 by Alaabouch
Replied by Alaabouch on topic customize a registration form under K2
Hi,

it is plugin "Improved ajax login & register". it's simple and flexible (responsive).

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #154630 by Krikor Boghossian
Replied by Krikor Boghossian on topic customize a registration form under K2
It 's nice.
My French is really merde but it looks to the point.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum