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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN7 - DDRMenuDNN7 - DDRMenu
Previous
 
Next
New Post
6/29/2013 1:02 PM
 

I am working on my first skin from the ground up, using a fresh install of DNN7.  This is not an upgrade but a fresh, out of the box, installation.  The other skins work fine.

When I found out why the [MENU] wasn't showing in IE 10, I tried switching to [DDRMENU] by adding this to the skin.htm file:

<div class="leftnav" style="float:left;max-width:200px;margin-left:auto;margin-right:800px;vertical-align:text-top;">[DDRMENU]</div>

which generated this in the ascx file:
<%@ Register TagPrefix="dnn" TagName="DDRMENU" Src="~/DesktopModules/DDRMenu/Menu.ascx" %>
- - - - - - - 
<dnn:DDRMENU runat="server" id="dnnDDRMENU" />

There were no errors on parsing it, but on display, oh, boy:

An error has occurred.DotNetNuke.Services.Exceptions.ModuleLoadException: Couldn't load menu style '': System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) at System.Web.HttpServerUtility.MapPath(String path) at DotNetNuke.Web.DDRMenu.TemplateEngine.TemplateDefinition.FromManifest(String manifestUrl) at DotNetNuke.Web.DDRMenu.MenuBase.Instantiate(String menuStyle) ---> System.ApplicationException: Couldn't load menu style '': System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) at System.Web.HttpServerUtility.MapPath(String path) at DotNetNuke.Web.DDRMenu.TemplateEngine.TemplateDefinition.FromManifest(String manifestUrl) at DotNetNuke.Web.DDRMenu.MenuBase.Instantiate(String menuStyle) at DotNetNuke.Web.DDRMenu.MenuBase.Instantiate(String menuStyle) at DotNetNuke.Web.DDRMenu.SkinObject.OnPreRender(EventArgs e) --- End of inner exception stack trace ---

What is the proper way to add a DDRMENU to the skin?
Thanks.




 

 

 
New Post
6/30/2013 5:17 AM
 

in the original aphelia skin you get these 2 lines in the ascx :
<%@ Register TagPrefix="dnn" TagName="MENU" src="~/DesktopModules/DDRMenu/Menu.ascx" %>
and
<dnn:MENU MenuStyle="Simple" runat="server"></dnn:MENU>

Seems your code missing MenuyStyle="Simple" where Simple is the name of a subfolder of the skin root containing necessary files for this style of DDRMenu.

go to \Portals\_default\Skins\Gravity to see it in action.

Take a look at :
http://www.dotnetnuke.com/Resources/W...

HTH regards


Julien Girerd
DevPCI - DotNetNuke Experts France Communauté des utilisateurs francophone de DotNetNuke DNN-Connect
 
New Post
6/30/2013 3:12 PM
 

Thanks.  From what I was reading it seemed that the DDRMENU was part of the download when I installed DNN7 vs doing the same install for an upgrade of an existing site.  Will go try this.  Thanks!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN7 - DDRMenuDNN7 - DDRMenu


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