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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryHow to style the Dashboard?How to style the Dashboard?
Previous
 
Next
New Post
1/19/2007 10:52 AM
 

Can I style my Dashboard?   I want to use the Category/single column display for the dashboard but I am finding very hard to style so that it matches my intranet.

I am interested in adding alternating row colors, and changing the 2nd column(???) borders and background.  

With the single column display is shows the category in left column and number of items in a right column but the right column is displayed as a white box with a border??

 

 
New Post
1/23/2007 9:07 AM
 
Has anyone applied a style to the dashboard?   Maybe someone can provide a link to an example of a repository dashboard which is different than the default single column display?  Any example or help would be greatly appreciated.
Thanks...
 
New Post
1/23/2007 10:33 AM
 

In the template folder for the template you are using ( located in DesktopModules/Repository/Templates ) you'll see .html/.xml file combos for each of the dashboard types. For example, if you are using the 'default' template, and set a dashboard to show the Index of Categories (single-column), you would modify the dashboard.index.html / dashboard.index.xml files. You can modify the html that is used to render the dashboard by modifying the .html file, and you can set object properties in the .xml file. In the dashboard.index.html file, you'll see that it renders a table, and it uses the "normal" class. You can define your own custom class to display alternating row colors, borders, etc, then just change the class attribute on the table to use your custom class instead.

 
New Post
1/24/2007 11:50 AM
 

Alright I think I am on the right track.

With the info provided I am creating a new style (2 columns with [category] and [count]).
I have identified that I need to change the AlternatingItemStyle-CssClass for the asp datalist.
What I cannot get working properly is the font colors, style, and size for the linked categories.   Do I do this in the XML file, do I add this to the CSS for AlternatingItemStyle-CssClass?

Here is the CSS I am trying to use:  (looks simple enough to do)
.AlternatingRow {
 background-color: #ffffff;
 color: #000000;
 font-family: tahoma;
 font-weight: bold;
 font-size: 11px;
 text-decoration: none;
}

a.AlternatingRow:link, a.AlternatingRow:visited, a.AlternatingRow:active {
 color: #000000;
 font-family: tahoma;
 font-weight: bold;
 font-size: 11px;
 text-decoration: none;
}

 
New Post
1/25/2007 11:10 AM
 

Simon,

Would you share your template once finalised please ?? I would be very happy to have a template with the count !! I am not good enough to do that... :-(

DV

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryHow to style the Dashboard?How to style the Dashboard?


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