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 DevelopmentSkin Object Development
Previous
 
Next
New Post
6/20/2007 3:40 PM
 

I'm struggling to develop a new Skin Object.  There must be some trick I'm not getting.

First, where should custom Skin Objects reside?  Modules go in the Desktop Modules folder, but what about Skin Objects?

I've created a fairly simple Skin Object.  Using the advice from this tutorial, I created a new folder called Skin Objects and hung it off the root of the DNN folder.  My ASCX file resides in there, and the DLL is in the bin folder.

I include the reference in my Skin, then use the object, but I'm getting an odd error that says:

DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.Web.HttpParseException: Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

I don't quite understand why the system is looking for App_global.asax?

Any help would be much appreciated -- thanks!

 - Bryan

 
New Post
6/21/2007 5:06 AM
 

Skin objects are much like modules and usually reside in a subfolder of DeskTopModules. Take PageTitle as example.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/29/2007 7:29 AM
 
Ok, is that an answer???
I have the same problem, and is moving the files the solution???
 
New Post
6/30/2007 6:40 AM
 

Only for asking for sure what you intend to do (wrong answers) - do you want to have a new skin/container or a new module with special object who is inherited from the SkinObjectBase class

 
New Post
6/30/2007 9:49 AM
 

Well, ultimately I gave up.  I could not get the darned thing to work.  It was very frustrating.

I was trying to write a custom version of the REGISTER control in DNN.  I wanted it to act differently when the site was set for no registrations -- to go along with the Paid Registrations module I was developing.  I was inheriting from the SkinObjectBase, but could never get it working.

Instead a just made an ASP.NET 2.0 custom controlled, included a reference to DotNetNuke.dll, and used that in my skin.  Works like a charm, and much easier to install.  Just upload to the bin folder.

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


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