Forum


HomeHomePremiumPremiumDevelopmentDevelopmentHow include a jquery plugin in 2sexycontent  razor templateHow include a jquery plugin in 2sexycontent razor template
Previous
 
Next
New Post
10/24/2013 6:03 AM
 

Regards,

I'm New in DNN and i recently start to use 2Sexycontent module . i want to include a   jquery plugin call blocksit-js in a new razor template but it create conflict in the site. Who can help me?


 
New Post
10/24/2013 10:12 AM
 

Hi German,

That plugin might be using a jquery version that is different from the one your DNN site uses.

Please tell me which DNN version you are running and what version of jquery that plugin requires. I will check if they are compatible.

Thanks,

Aderson

 
New Post
10/25/2013 5:18 AM
 

Hi Anderson,


I'm Using DNN 7   and the plugin requiere  jquery 1.7.1. The plugin works fine but create conflict with the  javascript in dnn.

 
New Post
10/25/2013 6:53 AM
 

Hi German,

1 - If the plugin requires jquery 1.7.1, then it should work fine with DNN 7 as it uses jQuery v1.9.1 and usually plugs are forward compatible, although this one might not be the case;

2 - So make sure you don't make a reference to jquery 1.7.1 at all. The referent that already exists to jQuery v1.9.1 should suffice its needs;

It would be good if I could see the problem. Can you send the URL?

Also give it a try on this video I talk about jquery conflicts. It might be beneficial:

http://www.dnnhero.com/Premium/Tutori...

Best regards,

 
New Post
10/25/2013 7:04 AM
 

Hi anderson i solve just using jQuery.noConflict();.


I have another question how can i create a pagination with two sexyContent ?


 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentHow include a jquery plugin in 2sexycontent  razor templateHow include a jquery plugin in 2sexycontent razor template



Try FREE
30 days money back guaranteed