DNN Blog

Feb 21

Posted by: Will Strohl
2/21/2012 11:13 PM  RssIcon

Content Injection Module for DotNetNuke

Today, I finally dedicated some time to give the Content Injection Module for DotNetNuke some much needed love.  Fortunately, there aren’t too many reported issues or requested features, so the update went quickly and smoothly.

If you are new to the Content Injection Module, this module was built to allow you to inject literally any text, content, scripts, or anything at all into the header or footer of your DNN website.  It can be quite useful to inject things like Open Graph Protocol, JavaScript libraries, CSS, startup scripts, and more. 

There are a total of four (4) updates made to the module for this release.  They are listed below:

  • Feature:  Windows Azure Support
  • Feature:  DotNetNuke Icon API Support
  • Enhancement:  Increase Width of Content Injection Text Field
  • Bug:  Content Injection Truncated

Windows Azure support will only affect a small subset of those using this module.  Up until now, you would not be able to successfully install the Content Injection Module on instances of DotNetNuke running on Azure.  Now you can successfully install and use this module on Azure.

The Icon API support is really only a cosmetic change, and most people won’t notice that this has even changed.  However, if your instance of DNN is more advanced and chooses to use its own icon set, this module will work seamlessly with your instance.

The content injection field in edit view was quite small for some content administrators.  It was too small for larger content injections – especially if they were over 100 characters or so.  Now, you have a much larger view for this module.  This enhancement was done completely client-side too, so you can change the height and width of this field on your own site as you see fit.  Just override the following two CSS selectors in your portal.css.  Your portal.css can be updated in your Admin > Site Settings page.

The final update was an unfortunate bug.  A while back I had increase the number of characters for a content inject to be unlimited.  However, the data access layer (DAL) that did the actual save to the database was still observing the original 2,000 character limit.  This would result in your content injection being trimmed to the first 2,000 characters.  This bug has been fixed.  You can now save content injections of any size safely.

This blog entry is cross-posted from my personal blog site.

Tags:
Categories: Development
Location: Blogs Parent Separator Will Strohl

4 comment(s) so far...


Gravatar

Re: Content Injection Module 01.02.00 for DotNetNuke Released

Hi Will, Thanks for keeping up the momentum, it is greatly appreciated. I was going to publish some feedback here for you, but though I could articulate it better in a blog post. Please take the time to read this:

www.creativeis.ca/Tutorials/tabid/974/EntryId/49/Content-Injection-Module-ndash-Usability.aspx

No need to publish this comment though, just a reading what I wrote will be a big help.

Mike

By Mike Cox on   2/23/2012 11:49 AM
Gravatar

Re: Content Injection Module 01.02.00 for DotNetNuke Released

@Mike: Thanks for your feedback. That button has been there since the first release, and while your point is a valid one and well illustrated by your blog, you're the first person to take any issue with it. That said, I am more than willing to make any kind of update or enhancement to my open source modules. Just submit an issue to the project.

By Will Strohl on   2/23/2012 11:51 AM
Gravatar

Re: Content Injection Module 01.02.00 for DotNetNuke Released

I would not expect anybody to take issue with such a minor thing, you are prolific supporter of the platform, I am just sharing an idea and tried to be as articulate as possible.

By Mike Cox on   2/27/2012 1:35 PM
Gravatar

Re: Content Injection Module 01.02.00 for DotNetNuke Released

No worries, Mike. I am not offended. Mostly amused. :) Thanks for the kind words too.

By Will Strohl on   2/27/2012 1:36 PM
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

PowerDNN
r2integrated
Telerik JustCode Free

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.