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...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorFCK ignoring new stylesFCK ignoring new styles
Previous
 
Next
New Post
3/31/2007 4:14 AM
 

Hello

I have recently added a new class for the style of a custom title I wish to incorporate into a site I am currently building.

I have entered the custom style into my customstyles.css file (also added to  my skin.css to double the chance of it working)   Just in case it was not being picked up by the search engine I changed from the css shorthand to

 h1 .listlabel
{
 font-family: Verdana, Arial, Helvetica, sans-serif;
 color: #6384ab;
 font-size: 1.50em;
 font-weight: bold;
}

In my  customstyles.xml I added:

<Style name="List label" element="div">
  <Attribute name="class" value="listlabel" />
 </Style>

Whilst in my FCK editor I can see this element listed(as just basic small text), but when applying to some text the style is ignored,instead of having a big bold:

'A'
List Domain Names

 

As I hoped and expected to see, I get an small and insigificant:

'A'

List Domain Names

As seen here:    http://www.a2zdom.com/Domains/AZDomains/ADomains.aspx

I have refreshed the page, refreshed the editor, but this does not seem to work, this custom style is just ignored. 

Any suggestions? 

Lynn


www.seemalta.net
 
New Post
4/1/2007 11:19 AM
 

Need more info:

1) As you may know, the style listlabel will be applied only if the tag is inside an H1 tag. May I suppose that your html is right about this?

2) to use custom .xml you must set the XML file to FILE and then point it to your custom file. Is it ok?

3) The style must be included somehow in your final place, but for the editor, you must set the .css file to FILE and point it to your custom file, or in case your style is defined somehow in your skin or admin styles you can set the .css file to dynamic

The best way to check how the styles are applied is by using firefox and its developer toolbar. It has an option to show the active style just by pointing the object with your mouse.

Hope it helps


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
4/1/2007 8:33 PM
 

Hi locopon

Thanks for the reply.  Yes I had already followed the process mentioned, but to no avail, the style was just ignored. Upon checking with FF web developer the text was not picking up my custom style, but taking the css body class from from my skin.css file.

I decided to risk re-applying the FCK editor in order to jolt it into action. 

However, this make things worse, now my custom styles in the drop down menu list is blank. I have lost all styles.  I have tried re-applying the styles several times using both dynamic and url modes. Nothing!!

This happened to me one time before and it took several days before the FCK editor finally woke up and found my custom styles, which had been located in the specified folder all the time, but the editor just ignored them.

Is there something I can edit within the module to make the FCK editor wake up and find, read and display the styles drop down list menu from the mycustom.css and mycustom.xml files I have selected?

Thanks

Lynn


www.seemalta.net
 
New Post
4/5/2007 10:44 AM
 

Eureka,

It seems that we have the same kind of problem, I do not manage to have it working...
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/127/threadid/112827/scope/posts/Default.aspx

 

DV

 
New Post
4/5/2007 2:03 PM
 

Hi DV

I seem to have got mine to work again.  I re-applied my custom.css and custom.xml files many times. Then it decided to work, however, it would only work on the URL.  But it seems unstable because from time to time the custom style menu list goes blank.

I cannot believe this problem has not happened to more people.

Lynn


www.seemalta.net
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorFCK ignoring new stylesFCK ignoring new styles


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