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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Wolli

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

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
Wolli

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

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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} :..
Locked

Return to “CMSMS Core”