Page 1 of 1

FCK - Styles-Drop-Down works not in News Module

Posted: Mon Jun 19, 2006 10:04 am
by Wolli
Hi guys,

im using 0.12.2 and 0.13 final...
Unfortunatelly, i've got a problem with FCKeditorX:

I defined the styles (classes) in the stylesheet, and added them to the fck under "extensions/FCKeditorX/styles"..
it works fine for content-pages (except the problem wenn you have a style with white text - you can's see it 'cause of the white background).
But if i use FCK for the News-Module, there are no Styles in dropdown :(

Does anybody has an idea how to fix it?

Thx
Wolli

Re: FCK - Styles-Drop-Down works not in News Module

Posted: Thu Jun 22, 2006 11:35 pm
by Dr.CSS
from the FCKeditorX "styles" page...
Styles
Paste styles from your template's stylesheet(s) that you want to have avilable from the WYSIWYG's drop-down style menu.
In order to see the applied styles in the textarea the same styles MUST exist in the stylesheet for the template for that page.

the template for 'News' must have the styles attached to it...

Re: FCK - Styles-Drop-Down works not in News Module

Posted: Mon Jun 26, 2006 8:20 pm
by Wolli
Thanks for your answer Mark,
but unfortunatelly im not really got a step further...
The Styles for all pages exist in the css attached to my template, and they work fine...

But the template for the news does not appear in the template-area, where you can attach css to a template.
Its a part of the news-module, and looks like that:

Code: Select all

<span class="Headline">{$entry->title}</span>

{if $entry->formatpostdate}
	<div id="NewsPostDetailDate">
		{$entry->formatpostdate}
	</div>
{/if}

{if $entry->summary}
	<div id="NewsPostDetailSummary">
		<strong>
			{eval var=$entry->summary}
		</strong>
	</div>
{/if}

<div id="NewsPostDetailContent">
	{eval var=$entry->content}
</div>
I tried to add the styles by

Code: Select all

<style type="text/css">...
, but that did not work...
Is there another specific NEWS-CSS where i have to add the styles?

Re: FCK - Styles-Drop-Down works not in News Module

Posted: Tue Jun 27, 2006 11:49 pm
by Dr.CSS
i believe there is a CSS called News... at least on mine...
that's what all these are for...

you could, if you have no News CSS, take a look thru the and make your own CSS...
div#WhatEverTheyCallit{someStyle} :..