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, ...CouldnCouldn't Load MenuStyle Superfish
Previous
 
Next
New Post
5/25/2012 3:26 PM
 

Hi,

I'm trying to use the DDR Superfish menustyle in my skin.  Unfortunately, I receive the error stating:

Couldn't load menu style 'Superfish': System.ArgumentException: Illegal characters in path. at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Web.InternalSecurityPermissions.PathDiscovery(String path) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath) at System.Web.HttpServerUtility.MapPath(String path) at DotNetNuke.Web.DDRMenu.TemplateEngine.TemplateDefinition.FromManifest(String manifestUrl) at DotNetNuke.Web.DDRMenu.TemplateEngine.TemplateDefinition.FromName(String templateName, String manifestName) at DotNetNuke.Web.DDRMenu.MenuBase.Instantiate(String menuStyle)

The pertientnt lines in my home.ascx file are:

<%@ Register TagName="MENU" TagPrefix="ddr" Src="~/DesktopModules/DDRMenu/Menu.ascx"%>
<%@ Register TagPrefix="ddr" Namespace="DotNetNuke.Web.DDRMenu.TemplateEngine" Assembly="DotNetNuke.Web.DDRMenu" %>
<div runat="server" id="nav">
    <ddr:MENU MenuStyle="Superfish" runat="server" />
    <dnn:LOGIN id="dnnLogin" runat="server" />
</div>

Can anyone help me identify the illegal character mentioned in the erro and how to rectify it?

Thanks,

Sid

 
New Post
5/25/2012 3:55 PM
 
Have you put a copy of the Superfish template folder in your skin folder?



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
5/25/2012 4:09 PM
 

Hi Joe,

Yes.  The Superfish folder is in there, and is referenced in my manifest file as follows:

<skinFile>

<path>Superfish</path>

<name>arrows-ffffff.png</name>

<path>Superfish</path>

<name>hoverIntent.js</name>

<path>Superfish</path>

<name>jquery.bigframe.min.js</name>

<name>menudef.xml</name>

<name>shadow.png</name>

<name>superfish.css</name>

<name>superfish.js</name>

<name>Superfish.xslt</name>

<name>superfish-navbar.css</name>

<name>superfish-vertical.css</name>

<name>supersubs.js</name>

</skinFile>

 
New Post
5/25/2012 4:25 PM
 
Have you also verified that the files are there, and in the directory that you think they will be in?



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
5/26/2012 12:13 AM
 

Joe,

I see the Superfish folder but only one file in the corresponding folder in the skin package is loaded into it.  i modified the manifest's skinfiles node as follows:

<skinFiles>

<skinName>SOPPlan</skinName>

<basePath>Portals\_default\Skins\SOPPlan</basePath>

<skinFile>

<path>Superfish</path>

<name>arrows-ffffff.png</name>

<name>hoverIntent.js</name>

<name>jquery.bgiframe.min.js</name>

<name>menudef.xml</name>

<name>shadow.png</name>

<name>superfish.css</name>

<name>superfish.js</name>

<name>Superfish.xslt</name>

<name>superfish-navbar.css</name>

<name>superfish-vertical.css</name>

<name>supersubs.js</name>

</skinFile>

<skinFile>

<name>home.ascx</name>

</skinFile>

<skinFile>

<name>home.doctype.xml</name>

</skinFile>

<skinFile>

 <name>inner.ascx</name>

</skinFile>

<skinFile>

<name>inner.doctype.xml</name>

</skinFile>

<skinFile>

<name>skin.css</name>

</skinFile>

</skinFiles>

How do I modify the above portion of my manifest to ensure that the Superfish folder contents are all included when parsed?

Thanks,

Sid

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CouldnCouldn't Load MenuStyle Superfish


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