Nonbreaking spaces

Author Message

Kévin S.

Wednesday 18 August 2010 2:31:35 am

Hello !

I think everybody has ever had the problem of the question mark that goes down on the next line, all alone...

I did not see any solution to this problem in eZ Publish, though. Is there a way to add automatically nonbreaking spaces in an ezxml block, for instance ?

Or maybe someone has found another way to stop the questions mark from going on the next line ?

Thank you !

___

Kévin

Kévin S.

Wednesday 18 August 2010 2:46:57 am

I've just found the solution of the problem : in the ezxml editor just use shift+space to create a nonbreaking space. The code used when the editor is desactivated is " ".

Some issues have also been made for that : http://issues.ez.no/IssueView.php?Id=13032 http://issues.ez.no/8494, I should have begun to search there !

___

Kévin

Nicolas Pastorino

Wednesday 18 August 2010 3:15:22 am

Hi Kevin !

Small note : don't hesitate to add a comment to the issues you found, giving more information on the issue based on your findings. Generally, this is a good practice, on any issue you may encounter.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Kévin S.

Friday 20 August 2010 2:03:48 am

OK Nicolas, I'll add some comments to the issues :)

___

Kévin

Lo' F.

Friday 27 August 2010 6:01:23 am

...Speaking of nonbreaking spaces, in a situation like this...

{foreach $news as $new}
   <li><a href={$new.url|ezurl}>{attribute_view_gui attribute=$new.object.data_map.intro}&gt;&gt;&gt;</a></li>
{/foreach}

...on screen, it comes like this...

"

- Porttitor magna, at vehicula pede dui id enim
>>>

- Porttitor magna, at vehicula pede dui id enim
>>>

"

how can I make it come in the same line, like this?..

"

- Porttitor magna, at vehicula pede dui id enim >>>

- Porttitor magna, at vehicula pede dui id enim >>>

"

loredanaebook.it

Lo' F.

Tuesday 07 September 2010 1:54:26 pm

Well, regarding what I said here above.. I figured out that it is not an eZ issue (..though I was looking for some template operators!)

The intro attributes here contain a paragraph <p>text</p> and by adding those &gt;s after it, they break to a new line.

Just fixed the thing through css: .. p {display:inline};

loredanaebook.it

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

eZ debug

Timing: Jan 18 2025 02:17:52
Script start
Timing: Jan 18 2025 02:17:52
Module start 'layout'
Timing: Jan 18 2025 02:17:52
Module start 'content'
Timing: Jan 18 2025 02:17:53
Module end 'content'
Timing: Jan 18 2025 02:17:53
Script end

Main resources:

Total runtime0.8607 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.9141152.6094
Module start 'layout' 0.00470.0034 741.523439.4297
Module start 'content' 0.00810.8510 780.9531616.2578
Module end 'content' 0.85910.0015 1,397.210916.1875
Script end 0.8606  1,413.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3837160.0002
Check MTime0.00150.1711160.0001
Mysql Total
Database connection0.00050.056110.0005
Mysqli_queries0.790191.8027680.0116
Looping result0.00080.0955660.0000
Template Total0.829396.420.4147
Template load0.00230.270120.0012
Template processing0.827096.084520.4135
Template load and register function0.00020.028810.0002
states
state_id_array0.00210.240710.0021
state_identifier_array0.00100.118620.0005
Override
Cache load0.00200.2326470.0000
Sytem overhead
Fetch class attribute can translate value0.00120.136630.0004
Fetch class attribute name0.00110.126180.0001
XML
Image XML parsing0.00120.134930.0004
class_abstraction
Instantiating content class attribute0.00000.002290.0000
General
dbfile0.00100.1114220.0000
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
2content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs