Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Display Terms and Conditions in popup

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
13 years 8 months ago #161899 by dotcom22
Display Terms and Conditions in popup was created by dotcom22
hello

When users register, I would like be able to display Terms and Conditions in a popup instead to open a simple new window...

IN fact registration is a sensible point and I think this process must be the more simple and friendly possible. If users choose to display Terms and Conditions by clicking on the link, I think is better to open the related page in front of the registration page (popup) and to resize this page.

I hope you will include in a future update this features...OR to explain me what kind of hack I can implement for do this..

thank

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

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

  • walkyrie
  • walkyrie
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
12 years 1 month ago #214244 by walkyrie
Replied by walkyrie on topic Re: Display Terms and Conditions in popup
+1

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

  • newlog
  • newlog
  • OFFLINE
  • Posts: 35
  • Thanks: 6
  • Karma: 1
11 years 11 months ago #217596 by newlog
Replied by newlog on topic Re: Display Terms and Conditions in popup
Hello

You can already do this by using an URL of the form
Code:
javascript:window.open('index.php?option=com_content&view=article&id=1&tmpl=component','cb_tos_win','width=800,height=600');void(0);"
if you want to open 'index.php?option=com_content&view=article&id=1' in a popup.

Here &tmpl=component clears Joomla's 2.5+ menus, 'cb_tos_win' is the HTML name of the popup (optional but recommended), and 'width=800,height=600' is the param string (to be adjusted to your needs).

Enjoy!
Fabrice

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

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 11 months ago #217597 by dotcom22
Replied by dotcom22 on topic Re: Display Terms and Conditions in popup
Hello

Thanks for your suggestion, however I solved the problem using Modalizer:

www.nonumber.nl/extensions/modalizer

This plugin is useful also for allow me to open other things in other area.

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

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

  • Josh Lewis
  • Josh Lewis
  • OFFLINE
  • Posts: 112
  • Thanks: 7
  • Karma: 0
  • Add-ons
11 years 11 months ago #217613 by Josh Lewis
Replied by Josh Lewis on topic Re: Display Terms and Conditions in popup
I'll have to keep this in mind. I admit that this would be useful for other folks who did not see this thread.

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

  • GIADOM
  • GIADOM
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
11 years 4 months ago #232141 by GIADOM
Replied by GIADOM on topic Re: Display Terms and Conditions in popup
Solution - How to open a Modal window of CB-Terms and conditions on new user registration

here some version data.

Joomla! 2.5.13
Community Builder 1.9
Modals v4.3.1 [FREE]

under configuration->Registration of CB - activate Terms and conditions
Place no url (leave it just empty)

go to Translation file under
/components/com_comprofiler/plugin/language/[your Lag - or - default_language]/language.php - or - default_language.php

search for
_UE_TOC_LINK

and add next to it instead a original text
{modal your-terms-url.html}Terms and conditions{/modal}

example
DEFINE('_UE_TOC_LINK','Accept {modal your-terms-url.html}Terms and conditions{/modal}');

that’s all

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

Moderators: beatnantkrileon
Powered by Kunena Forum