AW: [opencms-dev] Fckeditor own styles "Heading"

Kai Schliemann k.schliemann at comundus.com
Wed Jul 26 09:13:09 CEST 2006


Hi Andres,

AFAIK you can NOT add styles to this select-box (you can only hide some of
them).

If you want to use your own styles, do as Christian told you. If you do so,
you get an additional select box, which shows your styles.

HTH

Regards

Kai
  -----Ursprüngliche Nachricht-----
  Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von ANDRES SAYAGO
  Gesendet: Mittwoch, 26. Juli 2006 03:51
  An: The OpenCms mailing list
  Betreff: Re: [opencms-dev] Fckeditor own styles "Heading"


  You didn't understand my question. Thanks.
  ANYONE can help me?


  Christian Steinert escribió:
Christian Steinert schrieb:
  ANDRES SAYAGO schrieb:
     Hi.

I need to know how can I define own styles in the FCKeditor.

I have in the "Format" list: "Normal", "Normal (DIV)", "Formatted",
"Address", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Heading
5", "Heading 6".

I want to have another styles defined. How can I do it?

Thanks!!

Andrés



Sorry, my post was a bit confusing, I think

1) you have to set the
	template
file property of your JSP template stylesheet to contain the full path
of your CSS file
(this will be used to load your stylesheet while you edit)


2) In the directory where your CSS-stylesheet is, you need to create a
special file with the same name as your CSS-File plus the suffix _style.xml

So if your stylesheet is
	style.css
then you add
	style.css_style.xml
in the same directory where your CSS is.



There is a html file which describes this in the directory of the
fck-editor module in the virtual opencms filesystem. The module also
contains a sample xml file.


Hope it's a bit clearer this time,
Regards
Christian

  ------------------------------------------------------------------------


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

  --------------------------------------------------------------------------
--

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev


  --


        J. Andrés Sáyago P.
        Ingeniero de Desarrollo
        Calle 93B No 12-48 Of 302
        Bogota D.C., Colombia
        Tel: (57) (1) 610 6834 ext. 107
        Fax: (57) (1) 610 6834 ext. 108
        Cel: (57) 300 5528542
        asayago at ebstudio.com

        Barcelona, España
        Paseo de Gracia 2-4, 3,6a
        PBX. (34) 911 830 105
        www.ebstudio.com
        "Su Aliado en la Red"

        AVISO DE CONFIDENCIALIDAD
        ESTE MENSAJE, (INCLUYENDO CUALQUIER ANEXO) ESTÁ DIRIGIDO ÚNICAMENTE
A LOS DESTINATARIOS ARRIBA SEÑALADOS. PUEDE CONTENER INFORMACIÓN
CONFIDENCIAL O PRIVILEGIADA Y NO DEBE SER LEÍDO, COPIADO O DE OTRA FORMA
UTILIZADO POR CUALQUIER OTRA PERSONA. SI USTED RECIBE ESTA COMUNICACIÓN POR
ERROR, FAVOR AVISAR AL REMITENTE Y ELIMINAR EL MENSAJE DE SU SISTEMA.

        THIS E-MAIL (INCLUDING ANY ATTACHMENTS) IS INTENDED ONLY FOR THE
RECIPIENT(S) NAMED ABOVE. IT MAY CONTAIN CONFIDENTIAL OR PRIVILEGED
INFORMATION AND SHOULD NOT BE READ, COPIED OR OTHERWISE USED BY ANY OTHER
PERSON. IF YOU ARE NOT A NAMED RECIPIENT, PLEASE CONTACT THE SENDER AND
DELETE THE E-MAIL FROM YOUR SYSTEM.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060726/ff010fcd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4154 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060726/ff010fcd/attachment.jpg>


More information about the opencms-dev mailing list