eZpedia : The Free eZ Publish CMS Documentation Encyclopedia

Tidy

For a general description of Tidy, we recommend HTML Tidy on Wikipedia.

About

A url operator which processes the results of the eZ publish generated output through the tidy executable or php extension. The result is a cleaner html output

Usage

Here is an example usage of the tidy url operator. The operator may be called in more than one instance.

{eztidy($module_result.content)}

External resources

Troubleshooting:

If you are using the tidy binary in /usr/bin/tidy you will have to change line 50 in autoloads/eztidy.php from

$tidy_config = 'extension/eztidy/settings/tidy.ini';

IN: $tidy_config = $_SERVER['DOCUMENT_ROOT'] . '/extension/eztidy/settings/tidy.ini';

Article provided by eZpedia

All text is available under the terms of the GNU Free Documentation License

Powered by eZ Publish Community Project 4.2011

Hosted by Swiss eZ Publish partner YMC