how to colorize the code ?

how to colorize the code ?

Sunday 25 May 2008 5:45:00 am - 2 replies

Author Message

Kristof Coomans

Sunday 25 May 2008 8:06:30 am

Hi Pascal

Take a look at the ezgeshi extension: http://projects.ez.no/ezgeshi

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Pascal France

Friday 13 June 2008 3:09:16 am

Hi,

I followed the advice of Kristof but once the extension is installed it seems that the default «html» class doesn't work any more.

I mean if I use:

<literal class="html"><h1 style="color: red;">Pascal</h1></literal>

the displayed result is:

<h1 style="color: red;">Pascal</h1>

and not «Pascal» as a red h1 title.

The solution I have found is to remove this file:
extension/ezsh/design/standard/templates/content/datatype/view/ezxmltags/literal.tpl
so that the file:
design/standard/templates/content/datatype/view/ezxmltags/literal.tpl
is used instead of.

Maybe is there another solution ?

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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

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