Mootools Widget does not work with sitefinity widgets
I am using a slideshow control that is based on Mootools javascript libray for my custom news widget. When I add any sitefinity build in widget on the page, my control doesn't load.
Any idea?
Thanks in advance,
Fadi Raheel
Open up firebug in firefox (console tab)
What is it telling you? (any script errors?)
Getting the error:
Hi All,
I am stuck on this and would appreciate any help.
Thanks in advance.
Fadi Raheel
EDIT: Fixed
Hi,
Did you add your control to a Widget template or to the page directly? From the picture, I suppose you added it to the News Widget's template (or another widget) and probably there is some missing references in the template. If this is correct, can you send me the widget template, so I can inspect exactly how you added your control?
All the best,Thanks Svetoslav for your reply.
I registered it as:
<
add
enabled
=
"True"
title
=
"Custom"
name
=
"Custom"
>
<
tools
>
<
add
enabled
=
"True"
type
=
"~/Custom/FeaturedNews/FeaturedNewsWidget.ascx"
title
=
"FeaturedNews"
description
=
"Featured News Widget"
visibilityMode
=
"None"
name
=
"FeaturedNews"
/>
</
tools
>
</
add
>
Hello,
I'm glad that you fixed your issue.
That was going to be my second suggestion - that there is a jquery conflict with the version of the library that Sitefinity loads and the one from your control. You can check the version that Sitefinity loads from the Backend administration and settings page and load the same in your control, so no conflicts are caused. The other way around this is what you did - calling the noConflct() method.