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, ...Skin Custom tokens ? Skin Custom tokens ?
Previous
 
Next
New Post
11/15/2007 11:37 PM
 

That would be great for everyone, Erik.  I found there to be almost NO information on creating Skin Objects.  Even though it ended up being quite simple, there are no details for us out there.  I was lucky enough to be a subscriber to the telerik control suite, so I used one of their Skin Objects as a guide.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
11/16/2007 9:33 AM
 

Hi Eric,

All I wants to know is how to create a module definition for skin object so that upon installtion of zip package it ends up showing as a usrcontrol under [skinobject] module.

 

 

 
New Post
11/16/2007 1:09 PM
 

The development method is virtually the same as when you develop a module.  However, you do not need the Edit and Settings controls.  Also, your manifest files would have some alterations.  For instance, here is an example manifest file for a simple module:

<dotnetnuke version="3.0" type="Module">
  <folders>
    <folder>
      <name>MyModule</name>
      <friendlyname>MyCompany Customer History</friendlyname>
      <foldername>MyModule</foldername>
      <modulename>MyModule</modulename>
      <description>The MyCompany Customer History Module allows you to give the web site visitors a way to view and manage their activity history.</description>
      <version>01.02.02</version>
      <businesscontrollerclass>MyCompany.Modules.MyModule.MyModuleController</businesscontrollerclass>
      <modules>
        <module>
          <friendlyname>MyCompany Customer History</friendlyname>
          <cachetime>-1</cachetime>
          <controls>
            <control>
              <src>DesktopModules/MyModule/MyModuleView.ascx</src>
              <type>View</type>
            </control>
            <control>
              <key>Settings</key>
              <title>MyCompany Customer Info Settings</title>
              <src>DesktopModules/MyModule/Settings.ascx</src>
              <type>Edit</type>
            </control>
          </controls>
        </module>
      </modules>
      <files>
        <file>
          <path>App_LocalResources</path>
          <name>MyModuleView.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>Settings.ascx.resx</name>
        </file>
        <file>
          <path>images</path>
          <name>Cancel.png</name>
        </file>
        <file>
          <path>images</path>
          <name>Confirmed.png</name>
        </file>
        <file>
          <name>module.css</name>
        </file>
        <file>
          <name>MyModuleView.ascx</name>
        </file>
        <file>
          <name>MyModuleView.ascx.vb</name>
        </file>
        <file>
          <name>Settings.ascx</name>
        </file>
        <file>
          <name>Settings.ascx.vb</name>
        </file>
        <file>
          <path>[app_code]</path>
          <name>MyModuleController.vb</name>
        </file>
      </files>
    </folder>
  </folders>
</dotnetnuke>

And here is an example of a similar implementation as a Skin Object:

<dotnetnuke version="3.0" type="SkinObject">
  <folders>
    <folder>
      <name>MyModuleSkinObject</name>
      <version>01.01.02</version>
      <modules>
        <module>
          <friendlyname>MyCompany Customer History Skin Object</friendlyname>
          <controls>
            <control>
              <key>MyModuleLINK</key>
              <title>MyCompany Customer History Skinobject</title>
              <src>MyModuleLink.ascx</src>
              <type>SkinObject</type>
            </control>
          </controls>
        </module>
      </modules>
      <files>
        <file>
          <name>MyModuleLink.ascx</name>
        </file>
        <file>
          <name>MyModuleLink.ascx.vb</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>MyModuleLink.ascx.resx</name>
        </file>
      </files>
    </folder>
  </folders>
</dotnetnuke>

Please note the switch in the Type attribute to "SkinObject", as well as there being less information.  Typically, a skin object only consists of a few files.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
11/16/2007 1:57 PM
 

yes that's all i wanted. thanks for your help. I just couldn't find this info in any DNN documentation.

Asif

 
New Post
11/16/2007 3:46 PM
 

Me either.  I even used Google to search the DNN site, and came up blank.  I do not know how anyone figured it out.  :)


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin Custom tokens ? Skin Custom tokens ?


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