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, ...Adding a Side MenuAdding a Side Menu
Previous
 
Next
New Post
6/17/2008 4:29 PM
 

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

 


Healing the world one spine at a time. Chiropractic Websites using the DNN Framework.
 
New Post
6/17/2008 8:35 PM
 

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

 


Healing the world one spine at a time. Chiropractic Websites using the DNN Framework.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding a Side MenuAdding a Side Menu


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