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, ...variations widgetvariations widget
Previous
 
Next
New Post
7/24/2010 9:13 AM
 
i am trying to add the variations widget to one of my skins but I cannot get it to work. I copied the following files to my skin directory:
largetext.css
mediumtext.css
smalltext.css
stylesheetwidget.css
stylesheetwidget_ie6.css
width1024.css
width1280.css
widthfull.css
I also copied all the images in the img folder and placed this code in the ascx file:

<

 

div class="Widgets">
<object id="SizeWidget" codetype="dotnetnuke/client" codebase="StyleSheetWidget" declare="declare">
<param name="baseUrl" value="<%= SkinPath %>css/variations/" />
<param name="template" value="&lt;div title='{TEXT}' {ID} {CLASS}&gt;&lt;/div&gt;" />
<param name="default" value="width1024" />
<param name="Width 1024" value="width1024" />
<param name="Width 1280" value="width1280" />
<param name="Full Width" value="widthfull" />
</object>
<object id="TextSizeWidget" codetype="dotnetnuke/client" codebase="StyleSheetWidget" declare="declare">
<param name="baseUrl" value="<%= SkinPath %>css/variations/" />
<param name="template" value="&lt;div title='{TEXT}' {ID} {CLASS}&gt;&lt;/div&gt;" />
<param name="default" value="MediumText" />
<param name="Small Text" value="SmallText" />
<param name="Medium Text" value="MediumText" />
<param name="Large Text" value="LargeText" />
</object>
</div>
all the css files are in the root of my skin.  do I have to use the same structure as the MinimalExtropy(css/variations)?  did I miss any files?


www.nflmadness.com
 
New Post
7/27/2010 1:31 PM
 
I guess you need to register STYLES as well.. Add this to top section of your skin where other tokens listed too... <%@ Register TagPrefix="dnn" TagName="STYLES" Src="~/Admin/Skins/Styles.ascx" %>

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
New Post
7/27/2010 1:51 PM
 
You don't need the styles skin object for this. It's using only a widget.
Did you Enable Skin Widgets in Admin > Site Settings ?
 
New Post
7/27/2010 2:08 PM
 
thanks for correcting me Timo

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...variations widgetvariations widget


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