Share » Forums » General » I need use typograph

I need use typograph

I need use typograph

Saturday 01 May 2004 11:37:55 am - 8 replies

Modified on Sunday 02 May 2004 4:39:55 am by Yauheni Lapanau

Author Message

Alex Jones

Monday 03 May 2004 7:58:39 am

You can create a custom tag for each special character you need. I have set up a couple myself for characters like the trademark symbol. Check out http://ez.no/ez_publish/documentation/customization/components/datatypes/ezxmltext/custom_tags for more information.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Yauheni Lapanau

Tuesday 04 May 2004 3:12:27 am

I need use html tag and codes direct in input form. I don't want use custom tags.

Alex Jones

Tuesday 04 May 2004 6:15:20 am

Well, you could change all of your XML Text Fields to standard Text Fields which will accept your HTML for the most part. But in the long run that is limiting the power of the system. May I ask why you do not want to use custom tags?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Yauheni Lapanau

Tuesday 04 May 2004 8:20:15 am

I try to use no xml field. But no good will come of it. Ez is changing (&) and paste into derived html data (&amp;), instead (<) insert (&lt;).
I need input in form html tag which will be processed by brouser. I want use the rule of publication. For example telephone number or name and surname must be written together.
<nobr>>(375)297-358-689</nobr>. Brouser show me (375)297-358-689 in line.

Alex Jones

Tuesday 04 May 2004 8:57:46 am

Check your templates to make sure there isn't a wash operator being used when you output your data (<i>|wash</i>).

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Yauheni Lapanau

Tuesday 04 May 2004 2:17:59 pm

I use in output date {attribute_view_gui attribute=$node.object.data_map.body}. No result.When I insert <nobr> and I use {$node.name} all works normally. A problem with   they remain as before.

Alex Jones

Wednesday 05 May 2004 7:29:32 am

When you use <i>{attribute_view_gui...}</i> the system automatically washes the output. Instead, try using something along the lines of:

{$node.object.data_map.body.content}

Again, this requires that your <i>body</i> field is not set up as an XML Text Field (which is the default) - it should be a Text Field. The reason it works when you use <i>{$node.name}</i> is the fact that the <i>Name</i> field is a Text line, so it is not subject to the XML filtering steps.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Yauheni Lapanau

Wednesday 05 May 2004 2:33:26 pm

I use <literal class='html'>$content</literal> and remove operator wash in design/standard/templates/content/datatype/view/eztext.tpl. Then I something corrected literal tag \design\standard\templates\content\datatype\view\ezxmltags\

<div>{$content|(xhtml)}</div>

Thanks

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu