After upgrading to Kentico 8.1, my site's jQuery modules seemingly disappeared. Kentico is unilaterally injecting its own jQuery module, overwriting my own reference. How do I prevent this?
How do I get my custom jQuery modules to work after upgrading to Kentico 8.1?
340 Views Asked by Bryan At
2
There are 2 best solutions below
1
Martin Danko
On
This topic is covered in the following article: Using a custom jQuery when developing pages in Kentico.
Kentico currently creates a jQuery alias. What you need to do is open the jquery-core.js file and locate the line stating:
var $cmsj = jQuery.noConflict();
Comment this line and then uncomment the line:
var $cmsj = jQuery.noConflict(true);
Related Questions in JQUERY
- In Datatables, start value resets to 0, when column sorting
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- window.location.href redirects but is causing problems on the webpage
- Using JQuery Date Slider
- Storing selected language in localStorage
- How to stop other divs from still showing when i click a different button?
- Check multiple values with jQuery
- Bootstrap component does not want to render in Datatables function
- put white spaces when entering an amount moneytype symfony
- Trouble accessing custom header in AJAX response using jQuery in Fiware Keyrock
- I just cant make it work, HTML, JS and Firebase error
- Didn't declared variable still not getting any error in JavaScript
- Move element horizontally while scrolling vertically in pure JavaScript
- allow multi carousel in same page
- Embedded TikTok posts / thumbnail styling issue
Related Questions in CONFLICT
- Yocto conflicting error while building rootfs
- How to resolve a merge conflict in Git?
- Dependency Conflict with TOCropViewController in React Native Project
- R package building: importing functions with identical names
- i want to use im my requirements.txt this tensorflow~=2.3.0 version but i get an error
- Merge happens in reverse way while using GitHub
- Auto-conflict detection and resolution in Maria DB
- Remove git merge commit without conflict
- How to set utf-8 as default encoding for pull request merge conflict extension in azure devops?
- How to resolve version conflict for Parselmouth and Pandas during installation of pytz?
- AlpineJS conflict x-data with VueJS
- Ionic Framework generate and Angular ESLint 02-03 styleguide rule component naming conflict
- Ignoring files that are not present in the destination branch when merging a source branch into it with git
- Tailwind background utility class not working in Next.js(pages router)
- How to support "FULL JOIN" clause
Related Questions in KENTICO
- Migrating Kentico to Drupal
- Kentico 13 IPageRetriever not taking in OrderBy and FirstOrDefault clauses in Query
- Sending an email in Kentico 13 - Liquid issue?
- Kentico 13 - How to apply styles for the Froala editor
- Kentico 13 - write to ViewContext from inlinewidgetpage
- Navigation features missing in Kentico 13
- Automatically Changing Image URLs to Relative URL
- Kentico 13 - Automatically detect visitor culture not working
- Creating webhooks in Kentico 13 Xperience
- How can I format text to Title Case from within a transformation in Kentico?
- Kentico implementation of Froala Insert Link plugin
- Inheriting from Kentico.Content.Web.Mvc.MultipleChoiceComponent
- JWT token validation has failed
- Kentico 13: Error while saving the document
- Setting up Form Controls in Kentico 13
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Kentico's own site documents the problem here. The solution is to customize Kentico's built-in jquery-core.js file, replacing the line
var $cmsj = jQuery.noConflict();with the linevar $cmsj = jQuery.noConflict(true);. And pray that subsequent hotfixes/upgrades don't revert this change.