jquery plugin implementation in DNN 5.5.1
Last Post 12/03/2010 6:58 AM by Joseph Craig. 4 Replies.
Author Messages
Bo
Nuke Master
Nuke Master
Posts:215


--
11/09/2010 12:53 PM  
Hello There, I have just submitted a question to expert exchange in reguards to the setup and construction of a jquery plugin, in my case tooltips, within a website. I noted that when I attempted this I had issues in regards to the interaction of other modules on the page (such as engage rotator not working properly). What I found was that this occured with this module when trying to eithe inject the jquery in the html module, the header of the module or the header of the whole site (i.e. default.aspx). What I also learned was that it seemed to only happen when either one of the following conditions applied. Either when the plugin (in my case a slide effect for the tooltip) was nested within a document-dot-ready function or when the nested function was a function that used customizable objects as its arguments as was the case with this tooltip plugin where tooltip was a constructor that could take a set of configurable parameters as its object such as slide, offset, etc... So my question really was more or less have you run into situations where jquery just didn't seem to run properly when injected into the header of default.aspx or into the body of an html module or the header of the module. I am somewhat new to jquery anyway but figured by putting the jquery tools plugin script into the head of default.aspx file and putting the slide plugin there as well I could have the whole api available to me on any page I wished with in DNN and than all I would need to do was simply inject the custom effect for my tooltip on a given page via a .js file I built using the tooltip constructor with its configuration objects as its arguments. I attached the file with the question I posted to expert exchange which should keep the code snippets in tack so you can see what I tried and I was just wanting to know from you if I am going about this the right way in reguards to the set up of this jquery plugin in general and especially if there is some things I need to be aware of when trying to merge it into a the DNN CMS which already has many modules, providers, etc... that make use of the jquery platform and perhaps the same plugins I am tyring to set up. Anyway thanks for your help in this matter, Bo
Joseph Craig
DNN MVP
Posts:11667


--
11/09/2010 5:41 PM  
They guys at Engage really do understand jQuery, so I would encourage you to get into a dialog with them, if you can.

I attended Brian Dukes' presentation at the Day of DotNetNuke in Chicago last month. He had lots of good tips, so you should look at getting a copy of his presentation, at least for the outline of the discussion.

There is a problem with interference among plugins if you aren't careful with naming. If I recall, on of Brian's tips showed how to avoid much of that.

Joe Craig, Patapsco Research Group
Complete DNN Support
Bo
Nuke Master
Nuke Master
Posts:215


--
11/10/2010 10:33 AM  
thanks for the tip I'll do that
Balaji L
Nuker
Nuker
Posts:13


--
12/03/2010 5:38 AM  
how to redirect page in dnn.
Joseph Craig
DNN MVP
Posts:11667


--
12/03/2010 6:58 AM  
The Page Settings includes the capability to redirect to a page on the site or to an arbitrary URL.

Joe Craig, Patapsco Research Group
Complete DNN Support


---