Upgrade on Functionality

Permalink Browser Info Environment
Hi,

We use your add-on on our website for subscription and we recently activated the "Terms and Conditions" checkbox for user to check before subscribing. This works fine but the challenge we are having with this is that once the user clicks on the "Terms and Conditions" link, it opens a new tab thereby taking them away from the current tab.

We want to ask how is it possible for the add-on to show the terms & conditions on a Popup/Modal/Shadowbox which means once the link is clicked a modal will show containing the terms and condition, this will make our intending subscriber to still be on that same page while reading the terms.

Thanks

Type: Discussion
Status: In Progress
nathanieladeniran
View Replies:
concrete5cojp replied on at Permalink Reply
concrete5cojp
Hi nathanieladeniran,

Thanks for using our add-on.
We'll look into your request if we can add this functionality to the package itself.
Meanwhile, you may try doing it as follows-

- Override the `packages/c5j_stripe/single_pages/subscription.php` and change it as you want.

How to override:https://documentation.concretecms.org/tutorials/override-almost-any-...
How to create modals:https://documentation.concretecms.org/tutorials/how-to-create-alert-...

Thanks

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.7
Version Installed - 8.5.7
Database Version - 20210623000000

# Database Information
Version: 10.4.28-MariaDB
SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
C5J Stripe Subscription (0.1.2), CloudFlare IP Proxy (1.0.0), Easy Image Gallery (1.4.2), Fruitful (1.2), HTML5 Audio Player Basic (2.0.5), Hutman Ads (1.1.4), Login Dialog (0.9.8), Responsive Embed (1.0.0), Spacer (0.9.3), Speed Analyzer (1.2.5), Thumbnail Generator (11.0.0), Touch Gallery 3 (3.2.8), Website Optimizer (1.0.4)

# concrete5 Overrides
blocks/autonav/templates/responsive_header_navigation/view.css, blocks/autonav/templates/responsive_header_navigation/view.js, blocks/autonav/templates/responsive_header_navigation/view.php, blocks/autonav/templates/responsive_header_navigation, blocks/autonav/templates/breadcrumb.php, blocks/autonav/templates, blocks/autonav/add.php, blocks/autonav/auto.js, blocks/autonav/controller.php, blocks/autonav/db.xml, blocks/autonav/edit.php, blocks/autonav/form_setup_html.php, blocks/autonav/icon.png, blocks/autonav/nav_item.php, blocks/autonav/view.php, blocks/autonav, blocks/autonav_old/templates/responsive_header_navigation/view.css, blocks/autonav_old/templates/responsive_header_navigation/view.js, blocks/autonav_old/templates/responsive_header_navigation/view.php, blocks/autonav_old/templates/responsive_header_navigation, blocks/autonav_old/templates/breadcrumb.php, blocks/autonav_old/templates, blocks/autonav_old/add.php, blocks/autonav_old/auto.js, blocks/autonav_old/controller.php, blocks/autonav_old/db.xml, blocks/autonav_old/edit.php, blocks/autonav_old/form_setup_html.php, blocks/autonav_old/icon.png, blocks/autonav_old/nav_item.php, blocks/autonav_old/view.php, blocks/autonav_old, blocks/image/templates/gif_passthrough.php, blocks/image/templates, blocks/image/view.php, blocks/image, blocks/videotoken/add.php, blocks/videotoken/controller.php, blocks/videotoken/db.xml, blocks/videotoken/divSizer.js, blocks/videotoken/edit.php, blocks/videotoken/expired.mp4, blocks/videotoken/modalViewer.js, blocks/videotoken/norange.mp4, blocks/videotoken/sqldenied.mp4, blocks/videotoken/videoTokenCss.css, blocks/videotoken/view.php, blocks/videotoken, controllers/single_page/register.php, controllers/single_page/samplepage.php, controllers/single_page/subscription.php, controllers/single_page, elements/stripe/payment.php, elements/stripe, authentication/concrete/form.php, authentication/concrete, js/c5j_stripe.js, js/redactor.js, single_pages/subapi/check.php, single_pages/subapi/refresh.php, single_pages/subapi, single_pages/admin_4cd6_fcb707193226.php, single_pages/logout.php, single_pages/page_forbidden.php, single_pages/samplepage.php, src/Session/SessionValidator.php, src/Session

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.56 (Unix) OpenSSL/1.0.2o-fips

# Server API
cgi-fcgi

# PHP Version
7.3.33

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, json, libxml, mbstring, mcrypt, memcache, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 1024M
post_max_size - 50M
upload_max_filesize - 200M
mbstring.regex_stack_limit - 100000
memcache.max_failover_attempts - 20
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.