By Will Strohl on 4/28/2009Some twitter conversations today led me to see the need for a jQuery tips blog entry to help DotNetNuke developers integrate jQuery into their modules easier. There are a handful of things that can easily stumble someone new to the jQuery scene.
Make sure you call jQuery.noConflict();. This is necessary to not cause other client scripts and libraries to run errors. This is due to the fact that other client scripts might be using the $ designator for a JavaScript class. [jQuery.noConflict(); documentation] If manually adding jQuery, try to load the jQuery library in the header before all others. Not doing this can lead to the jQuery... Read More » |
By Will Strohl on 4/26/2009Even though there is a Map Module available to DotNetNuke, I had a need to use the Live Maps, instead of the default Google Maps. I found a couple of modules that looked to provide the Live Maps, but the project I was working on didn’t have a budget to purchase any of the modules. A friend sent me a snippet of code to get me started with the map, and everything sky-rocketed from there!
First of all, the easiest and most reliable way to get the map properly initiated on page load requires a bit of jQuery. I have posts that can help you include jQuery in your DNN site, if you are not yet upgraded to version 5. DNN Version 5.00.00 and higher have jQuery support out of the box. No modifications are necessary.
Adding jQuery to DotNetNuke 4.09.02+ Using the Injector ModuleAdd jQuery Support to Pre-DNN 5 Sites Using PageBlaster Once you have jQuery added to your site, we can move on. Add a Text/HTML Module to your page. Go to edit the text of the Text/HTML Module. Make sure that you switch to the Basic Text Box view, and then to HTML mode.

Now comes the fun part. Add some HTML to the textbox to load the map into. Also, be sure to include the script for the Live Maps client-side API. Here is a snippet:
div id="mapDiv" style="position:relative;display: block; width:550px; height:600px;">div>... Read More » |
By Will Strohl on 4/24/2009The last Orlando DotNetNuke Users Group (ODUG) meeting featured Tom Kraak, from Seablick Consulting. During his visit, we had a great time. We talked about a great many things. One of the things that happened though, is that he gave me a few interview questions. I am honored that he feels that I am interview-worthy. If you haven’t already heard about it or read it, visit Tom’s blog at Seablick.
Tom’s Blog: 7 Questions for “His Mightiness” Will Strohl
I... Read More » |
By Will Strohl on 4/24/2009 Pretty much every community event these days has an after party of some kind. I wouldn’t dream of disappointing you, and having the Day of DotNetNuke be different. After consulting with someone local to the area, our Microsoft Developer Evangelist, Joe Healy, the choice of an after party has come down to one of two choices. Unfortunately, I have not been to either place. So, I will not be able to give you any constructive clues to help you vote. And that is just... Read More »
|
By Will Strohl on 4/23/2009I recently read from someone that they suggest to always perform a Server.HtmlEncode on user-entered text. While this is good advice, it reminded me that the DotNetNuke core gives us some additional security options in the DotNetNuke.Security.PortalSecurity class. I figured that I would blog about this, as the DNN core gives us a great deal of pre-written methods to help make development easier and faster. Even though a ton of functionality is written and provided to us, most people don’t know that much of this functionality exists.
The DotNetNuke.Security.PortalSecurity Class The PortalSecurity class contains several methods to help you provide encryption, decryption, portal permissions, and user entry security to your modules and providers. Here is a listing the publically available methods in DNN version 5.00.01:
ClearRoles() – This method deletes the “portalroles” cookie. As a result, the current user will not match any roles... Read More » |
By Will Strohl on 4/22/2009You may or may not know this, but jQuery has been available to you since DotNetNuke version 4.09.01. It was not publicized at all, as it is not officially supported until version 5.00.00. In this blog entry, I will show you how add jQuery to your DNN site using the WillStrohl.Injection module. This is a free and open source module I have on CodePlex. I posted a variation of this blog entry in the past, using the PageBlaster Module. While I love the PageBlaster Module,... Read More » |
By Will Strohl on 4/21/2009 If you don’t already know, there will be a free one-day event that focuses only on DotNetNuke in Tampa, Florida on June 13. This is just around the corner, and information will begin to flow very fast. This event is being called the Day of DotNetNuke! If you are on twitter, you can follow the event and event news by following @DayOfDNN. And we are using the #dodnn... Read More »
|
By Will Strohl on 4/21/2009Last Thursday seems like a week or more ago now, and it’s only the Monday after. But last Thursday is indeed the day that I presented an Introduction to DotNetNuke Module Development session to the Orlando .Net User Group, or ONETUG. I go to their meetings every month, but this is the first time I presented while there.
I wasn’t sure what to expect walking into this meeting. There was a major 5k race in the Downtown Orlando area at the same time, so it threw some of the traffic and attendees schedule off. Luckily, I knew of a really good detour. Also, I don’t know when the last time this user group had heard anything about DotNetNuke.
... Read More » |
By Will Strohl on 4/21/2009Last night, the call for speakers for the annual DotNetNuke OpenForce conference begun. Right now, the DotNetNuke Corporation is focusing on OpenForce North America, to be held in conjunction with DevConnections in Las Vegas. Joe Brinkman announced the call for speakers via twitter. Having gotten to know many of the more visible and prominent members of the DNN community over the last year, including Core Team members, I really wish I had submitted a session last year. I think I will make a few submissions this year. Why might one want to do that?…
Submitting a session that gets chosen has its perks. You get... Read More » |
By Will Strohl on 4/13/2009Hopefully you all already know that Gemini exists. If not, I will quickly tell you about it. The actual word “Gemini” refers to the software by CounterSoft that DotNetNuke uses to accept, track, and manage bugs and feature development for the DotNetNuke project. DotNetNuke exposes this to the community at http://support.dotnetnuke.com. This is not a tutorial of how to use it. Hopefully, it is intuitive enough to figure out. Rather, I am going to focus on a single feature.
Most feature or bug trackers these days allow visitors to vote for an issue. The idea behind this is to allow a community to help drive development efforts by letting project owners know what the... Read More » |