Sep 10, 2014

DotNetNuke tips


DNN 7.3 +

Must read !
Proper registration of custon Javascripts and CSS to support minification and bundle-ing;
http://www.dnnsoftware.com/wiki/client-resource-management-api


DNN 7.3.2   Default DNN menu module DDRMenu     

~/DesktopModule/DDRMenu/Menu.ascx

User for MenuStyle="bootstrapNav".
You'll find this menu template in Gravity skin
For example:
...\Portals\_default\Skins\Gravity\bootstrapNav\
You may copy it to your DesktopModule/DDRMenu folder or use it from your skin folder.



DNN 4.9.5.  Anatomy of url in DNN. All of below urls target same DNN page XXX:


  • www.acme.com/Default.aspx?tabid=XXX
  • www.acme.com/tabid/XXX/Default.aspx
  • www.acme.com/AnyTextYouLike/CanBeHere/tabid/XXX/Default.aspx


There is only one catch. If you want to have physical folder in your root (virtual directory) then you don't use tabid:


  • www.acme.com/german/Default.aspx
In this case german is folder in web root.




DNN (4.9.5 ?) helper for accessing physical home DNN directory of active portal:

DotNetNuke.Common.Globals.GetPortalSettings().HomeDirectory

No comments:

Post a Comment