How to keep whitespaces entered in a bloc text ?

Author Message

Sébastien Antoniotti

Thursday 08 February 2007 1:10:33 am

Hi,

I have a problem with the bloc text because he don't keep me multiple whitespaces between words.

By example, if I enter "word[space][space][space]word2", the final outpout after saving and display is "word[space]word2" (or "word word2").

Can someone know how to keep this whitespaces ?

Thanks in advance !

eZ Publish Freelance
web : http://www.webaxis.fr

J-A Eberhard

Thursday 08 February 2007 2:03:36 am

In override/ezxml.ini.append.php add the followings:
[InputSettings]
TrimSpaces=false
AllowMultipleSpaces=true
Ckear the cache and you are done.... (at least in ezdhtml - for 'pure' text bloc I'n not sure if it's possible).

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Sébastien Antoniotti

Thursday 08 February 2007 2:25:42 am

Hi,

Thanks for your help, it works fine with the xml bloc but not with the text bloc.

Maybe I can use the xml bloc, but I have to hide the toolbar because I don't permit users to format the text, insert links, etc.

did you know how to make this ?

eZ Publish Freelance
web : http://www.webaxis.fr

J-A Eberhard

Thursday 08 February 2007 4:19:40 am

The Online Editor is seen as a module in the policy configuration, just don't give them access to it.

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Sébastien Antoniotti

Thursday 08 February 2007 5:09:35 am

In the anonymous role I juste have this :

content  read  Section( Standard )  
content  pdf  Section( Standard )  
user  login  SiteAccess( fr )  
articlerate  toutes les fonctions  Aucune limitation  

So the OE is not specially authorized, and by default, all that is not authorized is prohibited no ?

Moreover, I would want to enable the OE on certain classes, and not on other classes.

eZ Publish Freelance
web : http://www.webaxis.fr

Christian Stangier

Friday 18 May 2007 7:21:09 am

Hi,

does anybody know how to avoid the removal of several newlines in a file as well?

Greetings,
Chris.

Normando Hall

Monday 04 June 2007 9:42:46 pm

http://issues.ez.no/8031

Normando Hall
Rosario - Argentina

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.