FLEXIContent Universal Content does not show correctly

More
8 years 9 months ago - 8 years 9 months ago #59302 by rivandemo
Hello,
I have created a FLEXIContent Universal Content module to display the latest news on top of my articles (position 3 of the Protostar template) in a carousel mode.
It works fine everywhere except when a particular article is displayed; that article contains a code to display an accordion (the purpose is to display a glossary)
This is the code (only the first few lines are shown)

[accordion name="Glossaire" width="800" hideSpeed="500" showSpeed="600"]

[item title="Bibliographie"]

Bibliographie

AGAPAIN. Les meuliers. Presses du village. 77139 Etrépilly. 2002


First image: the normal situation





Second image: what it becomes with the "Glossary" article





Is there a possible conflict between FLEXIContent and the "accordion" extension?

Thank you for your help,
Richard
Attachments:
Last edit: 8 years 9 months ago by rivandemo.

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

More
8 years 9 months ago #59305 by micker
check js console
but it possible to have a js conflict

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
8 years 9 months ago #59313 by rivandemo
Hello,

Thank you for your advice.
These errors are reported when opening the "Glossaire" article:







That error does not appear for other articles.

I'll try to dive deeper in the code.

Richard
Attachments:

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

More
8 years 9 months ago #59319 by rivandemo
I checked the following: when i add an "accordion" code to another article the same error appears, there is a conflict between flexicontent and accordion.
The code where the error is detected is the following:
Code:
jQuery('select.use_select2_lib').select2({ /*hideSelectionFromResult: function(selectedObject) { selectedObject.removeClass('select2-result-selectable').addClass('select2-result-unselectable').addClass('select2- disabled'); return false; },*/ minimumResultsForSearch: 10 });

and the error is "Uncaught TypeError: jQuery(...).select2 is not a function"

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

More
8 years 9 months ago #59322 by ggppdk
Hello

open the JS console in the page
and click refersh,
what it the --first-- JS error ? (error not warning)

you may post a link to the frontend view


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
8 years 9 months ago #59323 by micker
it realy strange its not flexicontent link

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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.331 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