fbpx

Stay Home & Grab 40% Discount COVID19Grab Now

Welcome, Guest
Username: Password: Remember me

TOPIC: issue with Contact Form & "Content - Confirm Consent" plugin

issue with Contact Form & "Content - Confirm Consent" plugin 1 month 2 weeks ago #20144

  • Marc
  • Marc's Avatar
  • Offline
  • Senior Member
  • Posts: 74
  • Thank you received: 5
  • Karma: 1
Hi,
I have just discovered this issue : when you enable
"Content - Confirm Consent" plugin
then the Contact Form still works fine.
But if you select an Article for the Privacy Policy, then the Contact Form does not work any more (and there is an error in the Console).
The error in the console is the following :
Uncaught TypeError: Cannot read property 'Constructor' of undefined
    at bootstrap-tooltip-extended.min.js?55f60c9d06028fa91edc2d0ec1247650:6
    at bootstrap-tooltip-extended.min.js?55f60c9d06028fa91edc2d0ec1247650:6

I have double-checked : when using Protostar there is no issue.
So I guess it is a little conflict issue with bootstrap or something.
Attachments:
The administrator has disabled public write access.

issue with Contact Form & "Content - Confirm Consent" plugin 1 month 2 weeks ago #20148

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3409
  • Thank you received: 505
  • Karma: 89
Hi Marc,

We'll figure it out and post back a fix.
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: Marc

issue with Contact Form & "Content - Confirm Consent" plugin 3 weeks 3 days ago #20678

  • Marc
  • Marc's Avatar
  • Offline
  • Senior Member
  • Posts: 74
  • Thank you received: 5
  • Karma: 1
Hi !
Any news on this one ?
(I am asking bc somebody else from my Joomla local Community contacted me directly about the same issue :D)

By the way, the tiniest suggestion I have ever made to JoomDev now :lol: :
(see the screenshot)
When you open a JoomDev template style, the nice "Template Options" button is sometimes below the fold and therefore not immediately visible.
Maybe it would make sense to put the button first and the text after...
Attachments:
The administrator has disabled public write access.

issue with Contact Form & "Content - Confirm Consent" plugin 3 weeks 2 days ago #20690

  • pmleconte
  • pmleconte's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Thank you received: 1
  • Karma: 0
Hi Marc,
Just found a conflict between Joomla' bootstrap version (2.3) and Astroid's version (4.x) in modal handling (see www.bootply.com/bootstrap-3-migration-guide , modal migration part).

To solve this, you have to override modal's layout from layouts/joomla/modal/main.php so it matches upgrade requirements :
- remove .hide from the .modal (it's now hidden by default)
- wrap .modal-header .modal-body .modal-footer inside .modal-content
- wrap .modal-content inside .modal-dialog

So, just copy your layout file to templates/astroid_template_zero/html/layouts/joomla/modal/main.php and clean it up : I join a copy of the new file.

I still have a problem with a line inittooltips which is added by bootstrap.php file (in libraries/cms/html/bootstrap.php, lines 491 and after), but, when clicking on "privacy note" link, it now displays your note.

Pascal
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: Marc

issue with Contact Form & "Content - Confirm Consent" plugin 3 weeks 2 days ago #20692

  • pmleconte
  • pmleconte's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Thank you received: 1
  • Karma: 0
About my "inittooltips" line, it was due to the fact my website was in debug mode.
Now that I'm in "normal" mode, it disappeared.
Pascal
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.246 seconds