Posts

Showing posts from October, 2009

Review - eZ Publish 4: Enterprise Web Sites Step-by-Step

Image
It's been a while since there's been a eZ Publish release from Packt Publishing but the long awaited eZ Publish 4: Enterprise Web Sites Step-by-Step has finally hit the shelves.  Written by Francesco Fullone and Francesco Trucchia it spans 292 pages and details building a site using eZ Publish 4 from server preparation, eZ Publish installation, implementation and deployment. A imaginary magazine site is used to illustrate examples throughout the book.  A number of topics are covered that will help those new to eZ Publish get up and running. The book is based on eZ publish 4.0.1 and while the current version of eZ publish is 4.2.0 the content is still relevant and there are several notes that refer to features and changes in newer versions. Packt has provided Chapter 6 - Creating a Design as a free sample download (PDF) . A chapter overview is available on the book site as well as a full table of contents . This is a review of the PDF version of the book provided...

eZ Publish Admin to get some loving

Image
The current eZ Publish admin interface first appeared almost 5 years ago in version 3.5 ( released Dec 2004 ). At the time it was a massive improvement from the previous version. Since it's release there have been many advances in web technologies, javascript libraries and browser support. When the eZ publish roadmap was updated in July this year it indicated that version eZ Publish 4.3 (due 30 March 2010) will include a redesign of the admin interface. From the roadmap: eZ Publish Admin interface Redesign of the current User Interface including : More Ajax based usability features Revamped look and feel Improved management of Object States Dashboard A good discussion of the admin interface occurred in the forums originating in Jan 2009 and was reinvigorated after the roadmap announcement. The thread is a rather long one and winds it's way around a number of topics (JavaScript libraries, projects/contributions site, admin interface) but is well worth reading. The issue of...

Adding negative filters to eZ Find

I've been doing some work with eZ Find recently and have come across an issue that has also troubled others . While eZ Find includes some powerful filtering options there's no support for negative filters. This can easily remedied by adding "NOT" as an allowed Boolean Operator and adding specific handling of NOT to the final query construction to ezfind/classes/ezfezpsolrquerybuilder.php . This small change allows NOT to be used in the same manor as the existing AND and OR operators. An enhancement request has been lodged that includes the following patch. diff --git a/classes/ezfezpsolrquerybuilder.php b/classes/ezfezpsolrquerybuilder.php index 3c997dc..f30813c 100755 --- a/classes/ezfezpsolrquerybuilder.php +++ b/classes/ezfezpsolrquerybuilder.php @@ -852,7 +852,10 @@ class ezfeZPSolrQueryBuilder } } - return implode( " $booleanOperator ", $filterQueryList ); + if ( $booleanOperator == 'NOT' ) + return '...