[SOLVED] Can I change the final Registration Complete! page

13 years 3 weeks ago - 13 years 3 weeks ago #159818 by startercoach
Site is startersport.com
Using Joomla 1.5.22, CB 1.4 and CB Subs 1.1.2 and a couple incubator add ins (nice, btw).

I've made it so registration is triggered from a custom button in a module. I did this so I could lightbox the whole registration process. Everything works great, except the ending. A user finishes registration and sees (still in the lightbox) the whole site with the Registration Complete! message. I would like to show just the Registration Complete! message in the lightbox. Not the rest of the site around it. I accomplished this at the beginning of the registration using the suggested code from an earlier forum post (index.php?option=com_comprofiler&task=registers&tmpl=component) to initiate registration. Is there a similar target or mod I can use to strip the site wrapper from the Registration Complete! final page? Or just close the lightbox when registration is submitted and display the Registration Complete page as it is normally?

Please Log in to join the conversation.

13 years 3 weeks ago #159879 by krileon
You'll likely need JS to close the lightbox when a submit action is executed in its content. You could use incubator project CB Code to execute a code file that contains JS that closes the lightbox after the registration trigger. You could also alter comprofiler.php directly in the function saveRegistration and add JS to close the lightbox or redirect to a &tmpl page, etc.. You could also use incubator project CB Redirect to redirect after registration trigger to a &tmpl based page. Several options available, use what works best for you.


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 3 weeks ago #159912 by startercoach
Thank you so much for the guidance! CB Redirects did the trick.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.145 seconds

Facebook Twitter LinkedIn