Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

crli
Feb 12, 2010
  5205
(0 votes)

What and why is epiJQuery?

A feature in EPiServer CMS 6 that might catch your eye is a dashboard. An interesting technical aspect of it is that it’s largely a client based solution. As such anyone planning to do their magic on it might have the good fortune to enter the wonderful world of client side scripting (but you can do a lot of things server only if you prefer that).

So, what is epiJQuery? It’s jQuery 1.3.2, with one tiny addtition:

window.epiJQuery = jQuery;

Why is this useful? Consider this seemingly innocuous line anyone could add to the dashboard at any time.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>

The additional variable epiJQuery ensure that any scripts running after the script include above will find the same jquery version and plugins as the ones running before the script include.

Feb 12, 2010

Comments

Please login to comment.
Latest blogs
Optimizely CMS Developer Tools for macOS

Running Optimizely CMS on macOS presents unique challenges, as the platform was traditionally primarily designed for Windows environments. However,...

Tomek Juranek | Mar 15, 2025

Removing a Segment from the URL in Optimizely CMS 12 using Partial Routing

Problem Statement In Optimizely CMS 12, dynamically generated pages inherit URL segments from their container pages. However, in certain cases, som...

Adnan Zameer | Mar 14, 2025 |

Optimizely Configured Commerce and Spire CMS - Figuring out Handlers

I recently entered the world of Optimizely Configured Commerce and Spire CMS. Intriguing, interesting and challenging at the same time, especially...

Ritu Madan | Mar 12, 2025

Another console app for calling the Optimizely CMS REST API

Introducing a Spectre.Console.Cli app for exploring an Optimizely SaaS CMS instance and to source code control definitions.

Johan Kronberg | Mar 11, 2025 |