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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Skin Object DeploymentSkin Object Deployment
Previous
 
Next
New Post
8/24/2007 3:08 PM
 

I have created a very simple C# skin object which is nothing more than a Hello Wordl.

When I tried to deploy it I went into the Module Definitions section on the host menu and then into the Skin Objects folder. I then used Add Control to add the control, selecting the source file and entering the key.

When I clicked update I received no error message but the new control did not appear on the menu, when I tried this a second time I got a message saying that there is already a control with the same key and source file. However as It is not listed I cannot delete it or do anything with it.

When I add the token to a skin just to see what happens the skin reports that the token cannot be found.

The ASP page looks like this:

<%

@ Control Language="C#" AutoEventWireup="false" CodeFile="InchMenuSkinObject.ascx.cs" Inherits="InchPebble.DotNetNuke.Menu.InchMenuSkinObject" %>

<

asp:Literal id="inchMenu" runat="server"></asp:Literal>

and the Page_Load method of the object behind is:

 

{

inchMenu.Text =

}

protected void Page_Load(object sender, EventArgs e)"Hello Mum";

Does anyone have any idea what is going on or where I can find out more information about the erorr that must be occurring under the covers.

Thanks

 

 

 
New Post
8/26/2007 6:36 PM
 

You cannot manually create a skin object - you need to have it install via the MODULE install module.
Make a .dnn file - package the skin up and install it that way.

The manual module creator does not let you set the MODULE type to SKIN.

 
New Post
8/27/2007 5:58 AM
 

wtatters wrote

You cannot manually create a skin object - you need to have it install via the MODULE install module.
Make a .dnn file - package the skin up and install it that way.

The manual module creator does not let you set the MODULE type to SKIN.

Many thanks that seems to have got it.

It is not very clear that this is the case because there is an add control link at the bottom of the controls list in the Skin Folder section of the modules definition area. Is this is a known bug or something?

Also do you know where there is some comprehensive documentation on the .dnn file, I have not been able to find anything that covers it in any detail (I made mine by copying and editing an existing one)?

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Skin Object DeploymentSkin Object Deployment


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