Skip to Content Skip to Menu

popup the terms(Nutzungsbedingungen) during registration

  • Tobias_Conrad
  • Tobias_Conrad
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
  • Add-ons
11 years 2 months ago #233327 by Tobias_Conrad
www.demergo.de/Registrierung



popup the terms(Nutzungsbedingungen) during registration,
not loading on a new page

i tried to do it with modals from nonumbers but:
www.nonumber.nl/forum/ModalsPRO/16839-no-modal-for-me#16844

maybe also including: ?=component
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
11 years 2 months ago #233353 by krileon
It's just an href link with target of blank. So there's no reason for it to not working unless for some reason the new window is being blocked. If you're on a mobile device then your device may simply not allow target URLs. I can't help you if you're using custom modal solutions or anything of the sort as we didn't provide such a solution.


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 or Create an account to join the conversation.

  • Tobias_Conrad
  • Tobias_Conrad
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
  • Add-ons
11 years 2 months ago #233392 by Tobias_Conrad
please read why there is a problem:

www.nonumber.nl/forum/ModalsPRO/16839-no-modal-for-me#16844

maybe all user want the term in a joomla popup window?
Just improve...

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
11 years 2 months ago #233393 by krileon
It shouldn't matter, but your extension uses strict quote matching. At any rate I've created the below bug ticket to fix it in next CB release.

forge.joomlapolis.com/issues/4232

Quickfix as follows.

IN: /components/com_comprofiler/comprofiler.html.php
ON: Lines 1225-1243
FROM:
Code:
if ( $formatting == 'divs' ) { $tabcontent .= "\t<div class=\"" . $class. " cb_form_line cbclearboth\" id=\"cbfr_termsc\">\n" . '<div class="cb_field"><div id="cbfv_termsc">'; } else { $tabcontent .= "\t<tr class=\"" . $class. "\" id=\"cbfr_termsc\">\n" . "\t\t<td>&nbsp;</td>\n<td class='fieldCell'>"; } $tabcontent .= "<div class=\"cbSnglCtrlLbl\"><input type='checkbox' name='acceptedterms' id='acceptedterms' class='required' value='1' mosReq='0' mosLabel='" . htmlspecialchars( _UE_TOC ) . "' /> <label for='acceptedterms'>" . sprintf(_UE_TOC_LINK,"<a href='".cbSef(htmlspecialchars($ueConfig['reg_toc_url']))."' target='_BLANK'> ","</a>") . '</label>' . getFieldIcons( $_CB_framework->getUi(), 1, null, null, null ) . "</div>"; if ( $formatting == 'divs' ) { $tabcontent .= "</div></div></div>\n"; } else { $tabcontent .= "</td>\n" . "\t</tr>\n"; }
TO:
Code:
if ( $formatting == 'divs' ) { $tabcontent .= '<div class="' . $class . ' cb_form_line cbclearboth" id="cbfr_termsc"><div class="cb_field"><div id="cbfv_termsc">'; } else { $tabcontent .= '<tr class="' . $class . '" id="cbfr_termsc"><td>&nbsp;</td><td class="fieldCell">'; } $tabcontent .= '<div class="cbSnglCtrlLbl">' . '<input type="checkbox" name="acceptedterms" id="acceptedterms" class="required" value="1" mosReq="0" mosLabel="' . htmlspecialchars( _UE_TOC ) . '" />' . ' <label for="acceptedterms">' . sprintf( _UE_TOC_LINK, '<a href="' . cbSef( htmlspecialchars( $ueConfig['reg_toc_url'] ) ) . '" target="_blank"> ', '</a>' ) . '</label>' . getFieldIcons( $_CB_framework->getUi(), 1, null, null, null ) . '</div>'; if ( $formatting == 'divs' ) { $tabcontent .= '</div></div></div>'; } else { $tabcontent .= '</td></tr>'; }

Note the above line numbers may not be exact. Just look for the the exact FROM block of code around that area.


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum