Display Registration Form in article?

13 years 1 month ago #156570 by sonservant
Display Registration Form in article? was created by sonservant
Hi,
I need to display the registration form as part of a landing page that has other content. If I could display the registration form as a module this would solve the problem.
Is there a way to tweak the CB Content module to display the registration form?
Is there another way to display the registration form in a module?
Is there some other way to display the registration form as part of an article?
Thanks,
Herb

Please Log in to join the conversation.

13 years 1 month ago - 13 years 1 month ago #156573 by krileon
Replied by krileon on topic Re: Display Registration Form in article?

I need to display the registration form as part of a landing page that has other content. If I could display the registration form as a module this would solve the problem.

There's no easy way to reliably render the registration page. We also don't support registration via module.

Is there a way to tweak the CB Content module to display the registration form?

No, there's no substitution to render registration.

Is there another way to display the registration form in a module?

Officially, no.

Is there some other way to display the registration form as part of an article?

Officially, no.

You can review the function registerForm within cb.comprofiler.php which is responsible for rendering the registration page. I suppose you could simply duplicate this code and place it elsewhere, but no idea if it'll work or not.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 1 month ago #156575 by sonservant
Replied by sonservant on topic Re: Display Registration Form in article?
Thanks for the fast response.
When you say "Officially no", could you point to the non-official options?
Thanks,
Herb

Please Log in to join the conversation.

13 years 1 month ago #156577 by krileon
Replied by krileon on topic Re: Display Registration Form in article?

could you point to the non-official options?

Am not aware of any. The only module have noticed a user using to render registration failed and caused validation errors; so won't be recommending it. Best option is to likely search Joomla.org extensions directory.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 1 month ago #157301 by sonservant
Replied by sonservant on topic Re: Display Registration Form in article?
As an FYI to anyone else who needs to do this.
I took the generated source code for the registration form page, pulled the requisite js out of the head along with all the pertinent code from the body of the page and placed all of it in a custom html module.
I then embedded the custom module in the article I wanted the registration form in and all is working well.
While it's not the best form to have js in the body of your html, it does work.

Please Log in to join the conversation.

13 years 1 month ago #157398 by krileon
Replied by krileon on topic Re: Display Registration Form in article?
Don't recommend that method either. Just review comprofiler.php in CBs frontend component folder and pull the registration form code and place it in a custom module which has prepared CBs API with this tutorial. You'll then have an API built registration page. More maybe necessary, but a copy paste job of the source is nothing but disastrous and not backwards compatible encase we change something with registration process.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: sonservant

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.232 seconds

Facebook Twitter LinkedIn