[solved] jQuery(...).bootstrapToggle is not a function

More
1 year 10 months ago #83222 by kath
Hi there,

I get js error
"jQuery(...).bootstrapToggle is not a function"

I think my page does not have or need bootstrapToggle.

[question]
How can I remove the js call?

I see that the line is called by FC,
in a line like
  jQuery('input.fc_checkboxtoggle').bootstrapToggle();
in function
  loadFramework()
probably in file
  \components\com_flexicontent\classes\helpers\html.php
near line 1344.

[Setup]
Joomla! 4.2.6
FLEXIcontent 4.1.3   Release date: 2022-09-1

Thanks!

 

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

More
1 year 10 months ago #83227 by micker
hello you need to send context of error it be a conflict between an other script (not flexicontent)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
1 year 10 months ago #83231 by kath
ok, then I don't wanna bother.
(PS: It was a version incompatibility; I solved it by installing "jquery easy" and let it handle the correct versions of jq and bs)

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

More
1 year 10 months ago #83236 by micker
thanks for return

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
1 year 10 months ago #83252 by micker
for me its a conflict between template or module and flexicontent but its solved

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
1 month 3 weeks ago #85639 by bytekultur
Hey, which versions did work in the end? I use JQuery Easy as well but I still don't get the error to disappear.


After all, I think this should not load automatically, I have no button which uses the toggle and there's also templates which have their own solutions for toggles and switches...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.494 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline