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, ...Add Favorite and Set homepage SkinObject(Free)Add Favorite and Set homepage SkinObject(Free)
Previous
 
Next
New Post
9/10/2006 9:21 AM
 

Yesterday I made three skin objcects ,include  theme switcher / add favorite / set homepage.

add favorite skin object allow user to click to add your site in his/her browse favorite lists.
set homepage skin object allow user to add your site as his/her browse home page.

theme switcher allow your site visitor choose his/her preferred theme under your site sub directory - App_Themes。

All of these control are support localization,and can be use as easy as other skinobjects .
for example,to use add favorite  in your skin . you only need to registe like this
    <%@ Register TagPrefix="dnn" TagName="AddFavorite" src="~/Admin/Skins/AddFavorite.ascx" %>

 then you can put anywhere you want. for example:
<TD vAlign="middle" align="left"><dnn:AddFavorite runat="server" id="AddFavorite" /></TD>

     You can visit http://bfjc.cenya.com/mkxswz77/Download/tabid/1878/Default.aspx to download add favorite and set homepage skinobjects and related source code .  It's free.

     As for theme switcher,You can visit http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&PackageID=5465 for more information.

    Any question ,please mail me (xiaoqi98@msn.com)


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 5:02 AM
 

For anyone who download these skinobjects, Please follow these steps:

(1)unzip package to your disk

(2)copy sethome.ascx/sethome.ascx.vb/addfavorite.ascx/addfavorite.ascx.vb to your webroot\admin\skins directory.

(3)copy sethome.ascx.resx/sethome.ascx.zh-CN.resx/addfavorite.ascx.resx/addfavorite.ascx.zh-CN.resx to webroot\admin\skins\app_localresources directory.

(4)register skin object in your skin file,for example
    “<  %@ Register TagPrefix="dnn" TagName="AddFavorite" Src="  ~ /Admin/Skins/AddFavorite.ascx" %>“

(5)Add control like other skinobject ,for example
     "<dnn:AddFavorite runat="server" id="AddFavorite" />“

      Ok,It's should work now.


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
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Add Favorite and Set homepage SkinObject(Free)Add Favorite and Set homepage SkinObject(Free)


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