Close

Profile: final_thrill

Avatar

User posts

Bugs
10 years ago

Yes this has been solved.  The conflict was occurring because of a script we were using for validation.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

Got rid of the script, and everything is fine now.

Thanks for your help.

Bugs
10 years ago

It seems to be an order of operations issue where inside a plugin, the page is loaded first then the scripts.  It needs to be the other way around. 

Bugs
10 years ago

I added these two lines above the other includes....

                    Html.AddScriptParts("~/Scripts/jquery-1.7.1.min.js");
                    Html.AddScriptParts("~/Scripts/jquery-ui-1.10.0.min.js");

It didn't seem to help at all.  

Bugs
10 years ago

I have the Instant Search plugin running on a 3.1 site.  The problem I'm running into is all of my views pages from custom plugins cause the following javascript error with the instant search:

Uncaught TypeError: undefined is not a function
on Line:
var autocomplete = $("#small-searchterms").kendoAutoComplete(

My guess was that my plugin needed to reference the keno javascript libraries in Seven Spikes core.  So I added this to my view page:

Html.AddScriptParts("~/Plugins/SevenSpikes.Core/Scripts/kendo.all.min.js");
Html.AddScriptParts("~/Plugins/SevenSpikes.Core/Scripts/kendo.public.min.js");                  Html.AddScriptParts("~/Plugins/SevenSpikes.Core/Scripts/adminAnimatedCollapse.js");
Html.AddScriptParts("~/Plugins/SevenSpikes.Core/Scripts/animatedcollapse.js");                Html.AddScriptParts("~/Plugins/SevenSpikes.Core/Scripts/SevenSpikesExtensions.js");

Its loading those libraries however, it didn't fix the error, so I'm at a loss at this point.

Any ideas?

I need to modify several razor views in the views folder.  I tried creating a "Views" folder under the default clean folder, then place my modified views in there.  However when I rebuild, and fire up the site, its not displaying the modified view.  What am I doing wrong?