Using whatever code in article text

Author Message

Edwin Metselaar

Tuesday 25 March 2003 12:48:29 am

Hi,

I am getting pretty frustrated with inputting anything else but flat text into the articles. I cannot use html, cannot use javascript and worse, I cannot even write down my instructions for installation of some software.

The reason is that it includes some slashes and greater and less then signs. Is there a way to escape these so they are printed?

I tried to put in the HTML special character code & lt ; and that prints them allright. However, if I put some text in between like:
"less then OPTION greater then" the OPTION text just disappears.

Thanks, Edwin

Tony Wood

Tuesday 25 March 2003 1:06:10 am

> Hi,
>
> I am getting pretty frustrated with inputting anything else
> but flat text into the articles. I cannot use html, cannot
> use javascript and worse, I cannot even write down my
> instructions for installation of some software.
>
> The reason is that it includes some slashes and greater and
> less then signs. Is there a way to escape these so they are
> printed?
>
> I tried to put in the HTML special character code & lt ; and
> that prints them allright. However, if I put some text in
> between like:
> "less then OPTION greater then" the OPTION text just
> disappears.
>
> Thanks, Edwin

Hi,

Yes RC2 had this problem I seem to remember. The SVN version of the code has a tag <literal>unformatted text (html, xml source, etc.).</literal>. This should give you what you need.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Edwin Metselaar

Tuesday 25 March 2003 1:19:07 am

> Yes RC2 had this problem I seem to remember. The SVN version
> of the code has a tag <literal>unformatted text (html, xml
> source, etc.).</literal>. This should give you what you
> need.

And indeed - it does!

Thanks, Edwin

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 11:26:05
Script start
Timing: Jan 18 2025 11:26:05
Module start 'layout'
Timing: Jan 18 2025 11:26:05
Module start 'content'
Timing: Jan 18 2025 11:26:06
Module end 'content'
Timing: Jan 18 2025 11:26:06
Script end

Main resources:

Total runtime0.6389 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.4688152.6406
Module start 'layout' 0.00640.0037 742.109439.4766
Module start 'content' 0.01010.6271 781.5859538.1250
Module end 'content' 0.63720.0016 1,319.710912.1406
Script end 0.6388  1,331.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5649160.0002
Check MTime0.00150.2379160.0001
Mysql Total
Database connection0.00100.161410.0010
Mysqli_queries0.583791.3581570.0102
Looping result0.00070.1171550.0000
Template Total0.603394.420.3016
Template load0.00210.327320.0010
Template processing0.601194.096220.3006
Template load and register function0.00020.023810.0002
states
state_id_array0.00140.224010.0014
state_identifier_array0.00160.247920.0008
Override
Cache load0.00180.2783390.0000
Sytem overhead
Fetch class attribute can translate value0.00160.252820.0008
Fetch class attribute name0.00090.144640.0002
XML
Image XML parsing0.00060.098020.0003
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00080.1299160.0001
String conversion0.00000.001640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs