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, ...CSS variations of a container?CSS variations of a container?
Previous
 
Next
New Post
1/7/2010 6:04 PM
 

Hi,

 is it possible to reuse the same container in several locations with different css variations e.g. for different background colors? I could of course copy the container x times for x css variations, but is there maybe a more elegant way to "inject" some additional styling? It would be ideal if the end user could apply some predefined style settings. I need this basically to provide a container for the HTML element.
 
While I am at it: is there an edit control that relies on css styles? I would like to give the end user the option to choose from the available css styles, rather than giving him the choice of every available font.
 
TIA for any hints,
 
Regards
Tim
 
New Post
1/8/2010 10:05 AM
Accepted Answer 

currently you need an ascx (or HTMl) file for every contianer, you can use includes to make it a little easier on yourself.

It's a bit of a hack but works fine:

<!-- include file="myinclude.inc" -->

 
New Post
1/9/2010 10:06 PM
 
timvdh wrote:
While I am at it: is there an edit control that relies on css styles? I would like to give the end user the option to choose from the available css styles, rather than giving him the choice of every available font.
 
 

Hi Tim,

The FCK editor provider has loads of customisation options and you can generally restrict it to whatever tools and styles you like. Check the FCK editor forum here for threads on it.

Rob

 
New Post
1/16/2010 3:47 PM
 

Thanks a lot for both suggestions!
Regards
Tim

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS variations of a container?CSS variations of a container?


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