Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 25, 2012, 06:21:13 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155477
Posts in
21708
Topics by
7734
Members
Latest Member:
rofroodoOvego
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Big problems with WORD preformatted texts in FCKeditor
Pages: [
1
]
Go Down
Author
Topic: Big problems with WORD preformatted texts in FCKeditor (Read 1986 times)
midiweb
Offline
Posts: 178
Big problems with WORD preformatted texts in FCKeditor
«
on:
February 10, 2009, 12:27:51 PM »
Hi, with WB2.7 and the templates Industry, I use FCK editor 2.64.
I have incessantly big problems and only problems with the format and the layout of the texts. What I type, what I format is not what l get when I display the homepage. I lose my patience with FCK editor.
And more when I use a formatted text from Word....It's a a pain in...
For instance, I want to change the font, the style or/and the format. I have to do the changes several times untill it works when it works because it doesn't work sometimes.
My question is very simple: how to be sure that the text that I type, I format,... is what I want to get,...
I don't find in FCK editot the line space function. Where is it? How to change space between lines and paragraphs. Mine stay the same. Yes I know, I can make a Carriage Return. But what to do when I paste a long texte.
I need urgently help because my client can't stand WebsiteBaker anymore. I have to save the situation.
sorry! it's life
cheers.
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #1 on:
February 10, 2009, 01:36:00 PM »
Hello,
if you wanna have in the backend (FCKEditor-Window) the same display as in the frontend, you need to have a editor.css in your template wich basically holds the same styles as your frontend stylesheet.
The use of special fonts only works if this font is installed on all client pc's around the worl wich views your page. If the font you use is not installed another font is used. Basically only two fonts work for shure on all pc's. This is "serif" and "sans_serif". And from this types are "Times new Roman", "Verdana" and "Arial" the ones wich displays on the most PC's the same. With all other you have different displays from your frontend on different pc's. To got a special font for your page you need to upload it to your webspace and temporary lets install this font on every pc wich views your page.
How the FCKEDitor works if you use <enter> or <shift><enter> can be defined in the wb_fckconfig.js. For both you have the option to use <br />, <p> or <div>. How <p> or <div> is styled you have to define in the css of your template.
Matthias
P.S.
I strongly recommand not to use copy and paste from Word or Excel. Use the cleaning function of the FCKEditor or only copy the cleaned text (by using a editor to clean the text). The code and formats from Word and Excel are blowed up and you will ever run into a lot of display issues.
Logged
Argos
Moderator
Offline
Posts: 2156
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #2 on:
February 11, 2009, 10:50:06 AM »
Quote from: ruebenwurzel on February 10, 2009, 01:36:00 PM
To got a special font for your page you need to upload it to your webspace and temporary lets install this font on every pc wich views your page.
I didn't know this was possible. How do you do such a thing? And must the visitor agree to installation, or is it an automatic process?
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
midiweb
Offline
Posts: 178
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #3 on:
February 13, 2009, 03:35:54 PM »
My template "industry1" has no editor.css. How to implement such editor.css?
Who can help me?
Thanks
Logged
midiweb
Offline
Posts: 178
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #4 on:
February 13, 2009, 04:40:53 PM »
in directory /modules/fckeditor, I have
/editor but I find nowhere the editor.css
How to create or to implement such file?
take a look at my temporary homepage (with wb2.7) at
www.micheldimoro.co
m
Be not astonished, the content doesn't correspond the title of the homepage. It's only for test!
You see in certain menus that the display of the text is a bit crappy.
I tried and I tried to change the format but what I type is not what i get.
Cheers
Logged
erpe
Offline
Posts: 2077
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #5 on:
February 13, 2009, 06:52:54 PM »
Hi
create a editor.css and put in the template root.
That should do it.
If not, try to put it in the template-css-directory if available.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
mr-fan
Offline
Posts: 1556
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #6 on:
February 13, 2009, 08:03:33 PM »
you can even try to load a template WITH a editor.css to learn about the function and creation of it...
like the multiflex3 have one - so far i know!
regrad martin
Logged
midiweb
Offline
Posts: 178
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #7 on:
March 04, 2009, 11:24:59 AM »
hi, i've just taken a look a the editor.css in the template "Multiflex".
I'm newbie with CSS. Can I use this editor.css as it is with my template Industry1?
I think that the FCKeditor should be the same for all templates.
Here's the code:
Code:
/****************************************************************/
/* Design: Multiflex-3 Version 1.8 / Layout-4 */
/* File: Text formats */
/*--------------------------------------------------------------*/
/* Author: G. Wolfgang */
/* Date: May 22, 2007 */
/* Homepage: wwww.1-2-3-4.info */
/*--------------------------------------------------------------*/
/* License: Fully open source without restrictions. */
/* Please keep footer credits with a link to */
/* Wolfgang (www.1-2-3-4.info). Thank you! */
/****************************************************************/
/******************/
/* MAIN SECTION */
/******************/
h1.block {clear:both; margin:1.0em 0 0em 0; padding:2px 0 2px 2px; background:rgb(190,190,190); font-family:"trebuchet ms",arial,sans-serif; color:rgb(255,255,255); font-weight:bold; font-size:220%;}
h1 {clear:both; margin:1.0em 0 0.5em 0; font-family:"trebuchet ms",arial,sans-serif; color:rgb(80,80,80); font-weight:normal; font-size:210%;}
h2 {clear:both; margin:1.0em 0 0.5em 0; font-family:"trebuchet ms",arial,sans-serif; color:rgb(80,80,80); font-weight:normal; font-size:170%;}
h3 {clear:both; margin:-1.0em 0 0.5em 0; font-family:"trebuchet ms",arial,sans-serif; color:rgb(125,125,125); font-weight:normal; font-size:130%;}
h1.side {clear:none;}
h2.side {clear:none;}
h3.side {clear:none;}
h4 {margin:1.5em 0 1.0em 0; color:rgb(80,80,80); font-family:"trebuchet ms",arial,sans-serif; font-weight:normal; font-size:170%;}
h5 {margin:1.5em 0 1.0em 0; color:rgb(80,80,80); font-family:"trebuchet ms",arial,sans-serif; font-size:140%;}
h6 {margin:1.2em 0 0.2em 0; color:rgb(80,80,80); font-weight:bold; font-size:120%;}
p {margin:0 0 1.0em 0; line-height:1.5em; font-size:110%;}
p.center {text-align:center;}
p.right {text-align:right;}
p.details {clear:both; margin:-0.25em 0 1.0em 0; line-height:1.0em; font-size:110%;}
blockquote {clear:both; margin:0 30px 0.6em 30px; font-size:100%;}
p.caption {clear:both; margin:0.5em 0 2.0em 20px; text-align:left; color:rgb(80,80,80); font-size:110%;}
ul {list-style:none; margin:0.5em 0 1.0em 0;}
ul li {margin:0 0 0.2em 2px; padding:0 0 0 12px; background:url(../img/bg_bullet_full_1.gif) no-repeat 0 0.5em; line-height:1.4em; font-size:110%;}
ol {margin:0.5em 0 1.0em 20px !important /*Non-IE6*/; margin:0.5em 0 1.0em 25px /*IE6*/;}
ol li {list-style-position:outside; margin:0 0 0.2em 0; line-height:1.4em; font-size:110%;}
.column1-unit {width:440px; margin-bottom:10px !important /*Non-IE6*/; margin-bottom:5px /*IE6*/;}
.column2-unit-left {float:left; width:200px; margin-bottom:10px !important /*Non-IE6*/; margin-bottom:5px /*IE6*/;}
.column2-unit-right {float:right; width:200px; margin-bottom:10px !important /*Non-IE6*/; margin-bottom:5px /*IE6*/;}
.column3-unit-left {float:left; width:120px; margin-bottom:10px !important /*Non-IE6*/; margin-bottom:5px /*IE6*/;}
.column3-unit-middle {float:left; width:120px; margin-bottom:10px !important /*Non-IE6*/; margin-bottom:5px /*IE6*/; margin-left:40px;}
.column3-unit-right {float:right; width:120px; margin-bottom:10px !important /*Non-IE6*/; margin-bottom:5px /*IE6*/;}
/********************/
/* COMMON CLASSES */
/********************/
a {color:rgb(70,122,167); font-weight:bold; text-decoration:none;}
h1 a {color:rgb(70,122,167); font-weight:normal; text-decoration:none;}
a:hover {color:rgb(42,90,138); text-decoration:underline;}
a:visited {color:rgb(42,90,138);}
a img {border:solid 1px rgb(150,150,150);}
a:hover img {border:solid 1px rgb(220,220,220);}
Who knows?
Logged
Argos
Moderator
Offline
Posts: 2156
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #8 on:
March 04, 2009, 11:46:25 AM »
Quote from: midiweb on March 04, 2009, 11:24:59 AM
I think that the FCKeditor should be the same for all templates.
That's a choice you could make, but the idea behind editor.css is that users see familiar styles in the backend. So it's best to match the backend styles with frontend styles, using editor.css. But surely you can decide to create a default backend style for all your sites and templates.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
midiweb
Offline
Posts: 178
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #9 on:
March 04, 2009, 11:55:23 AM »
hi, thanks. I need only all classic functions from a word processing program.
For instance: I need Verdana font, in 12, small and so on , then I want to change in trebuchet, ...It has to work but mine doesn't work and the space line is too big,...
I need all default working functions, neither less nor more. I can't imagine to do a complete new css sheet for this.
Cheers!
Logged
Argos
Moderator
Offline
Posts: 2156
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #10 on:
March 04, 2009, 12:08:10 PM »
I think you mix up two different things. The editor stylesheet has nothing to do with the function of the editor. It just assigns certain styles to the content you see in the editor. If you want to change buttons and options of the editor itself, you have to modify the editor file. I don't use FCK myself, so I don't know what file that is, but check out their website and you probably will find info on customizing the editor functions there.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
midiweb
Offline
Posts: 178
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #11 on:
March 04, 2009, 04:42:10 PM »
very important to know:
Has the .css for FCKeditor to be called "editor.css"?
My template "industry" has a "industry.css" sheet , is this one for the layout of the homepage (frontend) or is it used also for the backend of the editor? Does FCKeditor implement another css sheet other than "editor.css?
In this latter case, I would understand what goes wrong because I changed a lot of parameters in this css sheet?
Cheers
Logged
doc
Guest
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #12 on:
March 04, 2009, 05:44:06 PM »
Hello,
if a template includes a editor.css file, it will be used to display the styles defined within the text area of FCK in the backend. If this file is not present, the settings are taken from
/modules/fckeditor/wb_config/wb_fckeditorarea.css
. Also check in the same folder for
wb_fckstyles.xml
.
Remember to delete your browser cache once you apply changes to one of these files.
Regards Christian
Logged
midiweb
Offline
Posts: 178
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #13 on:
March 04, 2009, 07:30:03 PM »
thanks for that explanation, i didn't know.I need only to change properly the fonts of different texts and the space line, the margins.. That what my current FCKeditor doesn't do at all! It's all crappy
I take a look at wb_fckeditorarea.cs
s
cheers
Logged
marathoner
Offline
Posts: 495
Re: Big problems with WORD preformatted texts in FCKeditor
«
Reply #14 on:
March 05, 2009, 04:42:03 AM »
Don't make changes to wb_fckeditorarea.cs
s. Create an editor.css file since that will be used if it exists.
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...