Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Adding a Side Menu
Previous Previous
 
Next Next
New Post 6/17/2008 1:29 PM
User is offline Dr Pat
16 posts
10th Ranked


Adding a Side Menu 

I am fairly new to skinning but I have read the DNN skinning and have successfully created both an html and an ascx skin.

My next task is to add an object to the skin, e.g. a side menu. I have the ciss.sidemenu module which when it is installed as a module is supposed to also be ready to be used as a skin object.

So my first question is - can I add the side menu to the skin after the skin has been installed on the server, e.g. by editting the .ascx file.

Question 2 - Do you have a sample of what the code would look like for adding a side menu.

Question 3 - Do I add the attributes to the .ascx file or to the .css file.

I must say that you guys are great - I have learned a ton through all your help!

Thanks again,

Pat

 

 
New Post 6/17/2008 5:35 PM
User is offline Dr Pat
16 posts
10th Ranked


Re: Adding a Side Menu 

OK...I got the code for the side menu.

I put the following code at the top of the page:

<%@ Register TagPrefix="dnn" TagName="DNN360Menu" src="~/desktopmodules/CISS.SideMenu/SideMenu.ascx" %>

Then I put the following line at where the menu should appear:

<dnn:DNN360Menu runat="server" id="DNN360Menu" ConfigFile="default.xml"/>

I confirmed the default.xml details:

<?xml version="1.0" encoding="utf-8" ?>
<Settings>
<Setting name="style" value="VerticalFullCSS"></Setting>
<Setting name="UseTabTitle" value="False"></Setting>
<Setting name="DisRegardHiddenFlag" value="False"></Setting>
<Setting name="StartLevel" value="0"></Setting>
<Setting name="Scope" value="-1"></Setting>
<Setting name="Hideoutofscope" value="False"></Setting>
<Setting name="MaxLevel" value="3"></Setting>
<Setting name="NoAdmin" value="True"></Setting>
<Setting name="Width" value="100%"></Setting>
<Setting name="ExpandAll" value="False"></Setting>
<Setting name="Deep" value="3"></Setting>
<Setting name="excludetabs" value=";7;85;108;"></Setting>
</Settings>

Save all files in their appropriate places. Then when I refresh the page expecting to see my new side menu I get an access is denied error to the .ascx file and the skin doesn't load.  I tried to parse the skin - access denied. I was able to change to a different skin. So I tried replacing the modified .ascx file with the backup I made and still - access denied.

I ended up deleting the skin package and having to manually delete the file because - access denied.

Any ideas on what went wrong and how to resolve it.

Thanks,

Pat

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Adding a Side Menu
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP