crli
Feb 12, 2010
  4444
(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
Display Child Pages in Content Delivery API Response

The below example will implement an instance of IContentConverterProvider to customise the serialisation of PageData and output child pages in the...

Minesh Shah (Netcel) | Oct 4, 2022

Bring the Report Center back in Optimizely CMS 12

The Report Center has been a part of Optimizely CMS since its first debut in version 5R2 in 2008, but in CMS 12, it's removed! Don't despair! Make...

Tomas Hensrud Gulla | Oct 4, 2022 | Syndicated blog

Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog

Optimizely names Luminary Senior Developer, Ynze Nunnink, OMVP

Luminary Senior Developer and Optimizely Lead, Ynze Nunnink has secured the coveted position of Optimizely MVP. Earning a Platinum badge for his...

Ynze | Oct 2, 2022 | Syndicated blog