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, ...Theme Switcher Control For Dnn 4.xTheme Switcher Control For Dnn 4.x
Previous
 
Next
New Post
9/10/2006 9:28 AM
 

Theme Switcher Control Allow your site visitor choose his/her preferred theme under your site sub directory - App_Themes。

Features:

For more information ,please see http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&PackageID=5465

How to use this control?
    (1)Unzip file
         copy Cross.dll to your webroot\bin directory
         copy ThemeSwitcher.ascx.vb,ThemeSwitcher.ascx to your webroot\admin\Skins  directory
         copy ThemeSwitcher.ascx.resx,ThemeSwitcher.ascx.zh-CN.resx to your webroot\admin\Skins\App_LocalResources   directory

    (2)  The ThemeSwitcherModule should be registered in the system.web section of the web.config file of your application(under the <httpModules> section),like this:

<httpModules>
<add type="Cross.DNN.Common.WebControls.ThemeSwitcherModule, Cross" name="ThemeSwitcherHttpModule"/>
</httpModules>

  (3)because theme need aspx files  to have a  head tag like this:
        <head runat="server" /></head>
    So,if you want to use this skinobject in your sub portal(child portal),you need to add this line to your sub portal's  default.aspx. 
    Note:it is not the default.aspx which directly under your webroot.  if your sub portal's name is intel,then this file should resides webroot\intel, add line like this

      <%@ Page language="VB" %>
      <%@ Import Namespace="DotNetNuke" %>
      <head runat="server" /></head>
      <script runat="server">

      For solve this question forever, add this line to webroot\Portals\_default\subhost.aspx (this file is copied into sub portal directory whenever create new portal),may be we can request core member to change this file in next release.  :-c

    (4)make sure you have theme package under your webroot\App_Themes.
    (5) Registe control in your skin files
     <%@ Register TagPrefix="dnn" TagName="THEME" Src="~/Admin/Skins/ThemeSwitcher.ascx" %>  

    (6)add control in your skin,for example:
     <TD vAlign="middle" align="right"><dnn:BANNER runat="server" id="dnnBANNER" /></TD>
      <TD vAlign="middle" align="right"><dnn:THEME runat="server" id="THEME" /></TD>


     Ok,It's should work now. Any question,please contact xiaoqi98@msn.com

What language is it programmed in?
     The user control using vb.net. but the httpmodule using c#.

What portal or software platforms is it compatible with?
     It's only support dnn 4.x.


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
9/10/2006 11:17 AM
 

 
New Post
9/11/2006 10:47 AM
 
     I visit your site, haven't found any skin exchange system.But I am very interested in your artist profiles show  and the related flash videos.How could you do that?Using standard module or created by yourself? or buy it somewhere?

Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
9/11/2006 12:09 PM
 
create an account -- you'll see the skin/profile system -- it's pretty cool :).

each of the links above are member created skins (really backgrounds) but the skin/profile system gives you all the freedom like Myspace.

i'm using a modified Scott McCullochs Private Messaging for my messaging system.  i'm also using a modified Scott McCullochs News Articles for Myspace type Bulletins.  everything else on are my custom modules.

after i finish getting all the bugs out i plan to wrap the profile base system and the other custom modules as distributable PAs.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Theme Switcher Control For Dnn 4.xTheme Switcher Control For Dnn 4.x


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