Friday 11 July 2003 1:31:56 am
The classes used in the XML format has no connection to HTML and CSS. This is an eZ publish term for classification. You can e.g. create a literal tag which renders text like normal pre html tag and a classification for this which is meant to show PHP code. You can then create a special template the this classification which could e.g. add syntax highlighting. The classification variable is also available in the template so you can use this variable to set the CSS style. You would then need to change the template for table to read some thing like:
<table class="{$classification}">
.... </table> The classification can be empty though, so you should check for this in your template and show a default classification. --bård
Documentation: http://ez.no/doc
|