Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [RESOLVED] Adsmanager - General terms popup

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[RESOLVED] Adsmanager - General terms popup

More
10 years 11 months ago - 10 years 11 months ago #16888 by cnfr
Hi,
i woulk like to know how to make the general terms and condition text appear in a modal window/popup instead of

the target blank on another page of the website provided by default in the component.

Thanks for an eventual help ;)
Last edit: 10 years 11 months ago by loic.
The following user(s) said Thank You: adarr
More
10 years 11 months ago #16894 by tompap
You will have to override the views/edit/tmpl/default.php
add a class like "modal" on the link "<a>" and also load
<?php JHTML::_('behavior.modal'); ?>
The following user(s) said Thank You: adarr
More
10 years 11 months ago #16897 by cnfr
Thanks for the tip, but it doesnt work. I got the overlay of modal but no window appears. I perhaps missed something.
<input type="checkbox" id="acceptrules" name="acceptrules" required value="1" />
                    <a class="modal" href="<?php echo TRoute::_('index.php?option=com_adsmanager&view=rules')?>" target="_self" >
                        <?php echo htmlspecialchars(JText::_('ADSMANAGER_ACCEPT_RULES_CHECKBOX'))?>
                    </a>
The following user(s) said Thank You: adarr
More
10 years 11 months ago #16906 by tompap
<?php JHTML::_('behavior.modal'); ?>

Is not displayed in your example.

Check also for Javascript error.
The following user(s) said Thank You: cnfr, adarr
More
10 years 11 months ago - 10 years 11 months ago #16913 by cnfr
I checked for javascript error, it works now. Thank you very much ;)
Last edit: 10 years 11 months ago by cnfr.
The following user(s) said Thank You: adarr
More
10 years 11 months ago #16923 by loic
Hello,

Great news :).

I update this topic to resolved.

Best regards.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.057 seconds
Powered by Kunena Forum