Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Backward CompatibilityBackward Compatibility
Previous
 
Next
New Post
10/7/2011 7:12 PM
 
While I'm still new to DNN Development (only modules for now, adding skins soon) it's a bit hard to learn things from the start to end and then start working, so I still have many (and huge) gaps in my knowledge as I learn while actually getting some work done.

My question is that if one develop (a) modules and (b) skins (got a feeling there's a different answer for each) in a DNN6 environment, if that modules / skins can be used as is in a DNN 5.2 environment.

Reason asking is that at work we use DNN5.2.  However I develop on my own laptop (you don't want to hear how locked down our network is at work..) and would rather like to use the latest version.

I don't want (if possible) to be "version specific" since I'm very interested in developing modules / skins in a way that it  can be used in any DNN installation and will work on at least DNN 5 and 6 (hopefully 4).

Easy topic to google, but figured some of the guys here are really helpfull and give usefull advice.  (Thanks for all so far btw)

Thanks in advance,
Krok
 
New Post
10/7/2011 10:21 PM
 
We work hard to make DotNetNuke backwards compatible and anytime there are issues (pretty rare) we resolve them ASAP - the main thing to be aware of is that later versions have access to more functionality so you have to be careful about making assumptions with your code.

In general for module developers, they pick the minimum version of DotNetNuke they want to support and code against that (i.e. add that versions dotnetnuke.dll as the reference for the module projects i.e. most people have a solution file where they add the dotnetnuke site [which might be 5.0.2] and then add WAP projects for their modules, they then use this to build their modules but may only ever deploy and test to a dotnetnuke 6.0.2 site). This ensures that they don't use API calls that only existed in later versions. Best practices then say that when you package your modules you should add a dependencies node to the manifest to indicate the minimum version so that users dont install it on earlier builds and see errors (http://www.dotnetnuke.com/Resources/W... ) e.g. you might set yours up as so
<dependencies>
    <dependency type="CoreVersion">05.02.00</dependency>
  </dependencies>

Skin developers need to do something the same, but it's less restrictive as skins contain little code (though if you're going to use jquery you should register it programatically (http://www.dotnetnuke.com/Resources/W...)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Backward CompatibilityBackward Compatibility


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out