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 ForumsEventsEventsManaging Event ThemesManaging Event Themes
Previous
 
Next
New Post
2/11/2010 7:48 PM
 

There is a facility to select Custom themes for an Events module in the Settings control.  What steps are needed to modify a standard theme (css file) and make it a Custom theme visible in the Settings control?

Thanks in advance, Richard

 
New Post
2/12/2010 2:23 AM
 
Richard Brand wrote:

There is a facility to select Custom themes for an Events module in the Settings control.  What steps are needed to modify a standard theme (css file) and make it a Custom theme visible in the Settings control?

Thanks in advance, Richard

 

Good question. After putting the asnwer here, I will update the FAQ on dnnevents.CodePlex.com.

Essentially, an Events theme is a folder that contains all elements that make up the theme: at least 1 css file, but most of the time also some bitmap files that are used in the graphics of the theme.

In order to make it work, the name of the folder must be the same as the name of the theme .css file. So if you want to have a theme named ThisIsMyTheme, you should have a folder named ThisIsMyTheme and a .css file within this folder named ThisIsMyTheme.css.

For standard installed Evenst themes, the folders can be found in the DesktopModules\Events\Themes. In this folder you will find subfolders named Default, Events, etc. In fact, all names of the standard themes supplied in the PA pack of Events. The name of the folder = the name of the theme.

Custom Event themes are located in the standard Portal file folders, which you can reach using the Admin File Manager. There should be a main folder DNNEvents, with a subfolder Themes. From there on, it works like the standard themes. To work it out for your custom theme ThisIsMyTheme, there should be (at minimum) a file in a folder DNNEvents\Themes\ThisIsMyTheme\ThisIsMyTheme.css. All necessary additional bitmaps and/or other files for your theme should be located in the same folder.

As for the structure of the .css theme file. The best way to start is to create a copy of one of the standard Event themes, e.g. Events.css and also have a look at another one, e.g. Events-Green.css.

Class names in the .css file are prefixed with the name of the theme. If you compare the 2 standard themes, the naming convention can be easily detected. The reason for this is that the Events module supports the option to have 2 instances on the same page, each having a different theme as well as the fact that the caldendar control we use (which we inhertited a long time ago) is build this way.

I hope this makes things a little bit more clear. If you have any question left, please ask.


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
New Post
2/14/2010 3:12 AM
 

Thank you for an excellent explanation.  I now have this working just as expected

Cheers, Richard

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsManaging Event ThemesManaging Event Themes


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