projects / org / ezproject2010 / eztidy / forum / general support / usage?
Find the Exponential Software extensions you want
You need to be logged in to post messages in the forums. New users may register here.
Member since: Posts: 5 |
Tuesday 09 December 2008 1:55:55 pm I tried to test this, but I am not sure I understand how it is intended to be used.
Is there a server version of tidy that needs to be installed first? I added the operator to a template: {$module_result.content|tidy()}
http://www.thinkcreative.com |
|
Member since: Posts: 42 |
Tuesday 09 December 2008 2:15:27 pm Be certain to check the following
- Check that your using eZ Publish 4.0 - Your ez logs for error warnings and notices. - The extension is enabled for the siteaccess - Regenerate the autoload cache - Clear all standard cache - That 'tidy' is enabled with your php server configuration this extension appears to rely on a 'tidy' class being installed and available. You can confirm this using the phpinfo(); function within a standard php page on the same server. Note: "If you are using PHP 5.0+, the Tidy extension is bundled as part of the standard PHP distribution and you must only install the libtidy library and specify the --with-tidy option as part of your PHP configure parameters." http://www.coggeshall.org/code/tidy/ http://tidy.sourceforge.net/ http://pecl.php.net/package/tidy The extension's installation documentation should include these key instructions a little more clearly than currently. Most people hope for a shell binary method to be available and as good as the php library version (which just is not so). http://svn.projects.ez.no/eztidy/trunk/doc/INSTALL Cheers, Heath Brookins Consulting | http://brookinsconsulting.com/ |
|
Member since: Posts: 5 |
Tuesday 09 December 2008 8:07:01 pm Cool - i needed the php-tidy module. Installed via yum and it works good now.
http://www.thinkcreative.com |
|
Member since: Posts: 18 |
Thursday 18 December 2008 7:56:33 pm Thank you for your contribution Guillaume!
eZ Partner | North American Experience |
|
Member since: Posts: 42 |
Thursday 18 December 2008 7:58:59 pm For those without php-tidy installed and available there seems to be an existing solution available from pubsvn.
The following ezpedia article points out a version of an extension called eztidy which can call tidy via shell binary. This method while considerably slower seems simpler to use in a shared hosting environment. http://ezpedia.org/wiki/en/ez/tidy http://pubsvn.ez.no/community/trunk/extension/eztidy http://pubsvn.ez.no/community/tru...xtension/eztidy/autoloads/eztidy.php Cheers, Heath Brookins Consulting | http://brookinsconsulting.com/ |
You need to be logged in to post messages in the forums. New users may register here.