AW: [opencms-dev] WYSIWYG Editor and Style Sheet Integration
Michael Schäfer
ms at ethikom.de
Thu Oct 31 10:52:19 CET 2002
hi Tobias,
I'm afraid I got you wrong.
The styles in your CSS-File are used for display in the Editor. You
cannot increase the number of selectable stylesheets. That means you are
limited to P, H1-H6.
Michael
-----Ursprüngliche Nachricht-----
Von: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org] Im Auftrag von Kindlieb
Tobias
Gesendet: Donnerstag, 31. Oktober 2002 10:40
An: opencms-dev at www.opencms.org
Betreff: AW: [opencms-dev] WYSIWYG Editor and Style Sheet Integration
Hi Michael,
Thanks for your fast reply :-)
I tried a lot, but it doesnt work :-(
Here is the current directory tree of our installation:
- content
- dis
o investor
* dis.css
- download
- externallinks
-
etc.
The dis.css file resides in the investor directory.
I use following code-snippet in the frametemplate:
<XMLTEMPLATE>
<stylesheet>dis/investor/dis.css</stylesheet>
<TEMPLATE><![CDATA[
OK, when I open the editor, the styles in the drop down list havent
changed. I only get the pre defined OpenCms styles. I currently use
OpenCms 4.6.6 and OpenCms 5.0 beta.
Do you see self-defined styles in your editor? Maybe the ActiceX Control
is buggy.
Tobias
-----Ursprüngliche Nachricht-----
Von: Michael Schäfer [mailto:ms at ethikom.de]
Gesendet: Donnerstag, 31. Oktober 2002 10:12
An: opencms-dev at www.opencms.org
Betreff: AW: [opencms-dev] WYSIWYG Editor and Style Sheet Integration
Hi Tobias,
in the frametemplate of your pages you have to define the tag
<stylesheet>.
The first part of your frametemplate could look like:
<?xml version="1.0"?>
<XMLTEMPLATE>
<stylesheet>css/styles.css</stylesheet>
<TEMPLATE>
<![CDATA[
<!DOCTYPE HTML PUBLISH "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>]]><METHOD name="getTitle"/><![CDATA[</title>
until version 5.0 beta the path inside the stylesheet-tag can not start
with "/".
Michael
-----Ursprüngliche Nachricht-----
Von: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org] Im Auftrag von Kindlieb
Tobias
Gesendet: Donnerstag, 31. Oktober 2002 10:04
An: opencms-dev at www.opencms.org
Betreff: [opencms-dev] WYSIWYG Editor and Style Sheet Integration
Hi,
I'm currently deploying the Opencms-System for our company.
Unfortunately, I have some problems using style sheets in the WYSIWYG
Editor. I have read a lot in the mailing list about this problem, but I
haven't found a solution yet. Can somebody provide guidance?
How can I use self-defined style sheets in the editor?
Thanks in advance.
Tobias Kindlieb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20021031/347396cd/attachment.htm>
More information about the opencms-dev
mailing list