"YourCompany" Why?
Last Post 02/15/2011 2:47 PM by R3. 2 Replies.
Author Messages
R3
Nuke Active Member
Nuke Active Member
Posts:32


--
02/15/2011 1:47 PM  

I am creating/developing some new Modules for my web portals. I created my first module, which forced me to add YourCompany."foldername" to the folders in order for it to see my module. Then in order to change from YourCompany I have to find it througout ALL of the source and change it. After the first module I created - now every module I create has Phil."foldername" required... I understand Phil to be one of the original developers of DNN, but why did it change from YourCompany to Phil and how do I change what it will change my future modules to OR take this out. I find no reason to have to put YourCompany."foldername"

Joseph Craig
DNN MVP
Posts:11667


--
02/15/2011 2:01 PM  
I am guessing that you used some templates installed in Visual Studio to create the modules.  Possibly they came from the DotNetNuke Starter Kit?

The names have to do with default namespaces, used to make sure that your code doesn't clash with that of other modules.  I assume the the folder naming scheme is similar.

Recently, I have used a set of templates created by Chris Hammond and featured in his blog on DotNetNuke.com.  Look for them there.  I found them to be relatively easy to use and relatively easy to understand.  You will, though, have to poke around a bit to get all of the naming conventions and default values set to your liking.  Chris' templates also automate the build process and packaging of modules.  I find that quite helpful.

I recommend Mitchel Sellers' book on DotNetNuke module development.  I seem to remember that he uses the templates from the Starter Kit and also goes through them in detail, explaining how they all work together.

BTW ... the "creator" of DotNetNuke is Shaun Walker.  I'm not sure who Phil is ...

Joe Craig, Patapsco Research Group
Complete DNN Support
R3
Nuke Active Member
Nuke Active Member
Posts:32


--
02/15/2011 2:47 PM  
I am using the Starter Kit. Thank you for the explanation. I will read what I can find about Chris' Template.


---