eZ Community » Blogs » Steven E. Bailey

Member since: 27/04/2006

Blog entries
  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Turning off debug for xml output

Friday 19 August 2011 09:52

by Steven E Bailey  | 4 comments

So I'm trying to debug a site which has ajax calls to a module that serves xml.  Of course the debug output appended to the xml breaks it.  I've had this problem before but I never bothered looking closer at it until now.

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Finding the objects of a class with non-null values

Thursday 18 August 2011 06:22

by Steven E Bailey  | 0 comments

For a customer i had to find the objects (out of hundreds) that had an attribute filled out, I figured an attribute filter would be the easiest:

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Protip suhosin

Sunday 10 July 2011 07:54

by Steven E Bailey  | 4 comments

If you are using suhosin you WILL end up having a problem when trying to edit a class with more than 20 attributes if you don't first increase the suhosin.post.max_vars and suhosin.request.max_vars to more than the default 200.

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Using php to pass database values to a bash shell

Friday 01 July 2011 11:55

by Steven E Bailey  | 0 comments

Here's code that I've used in a bunch of places - especially for automated syncing scripts:

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Dumping classes

Friday 01 July 2011 01:18

by Steven E Bailey  | 3 comments

Here's a little script I use when I have get the info from a class or classes:

  • Currently 4 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Finding double-published items

Wednesday 29 June 2011 11:47

by Steven E Bailey  | 7 comments

I had to find objects that had multiple locations for a client.  This is what I came up with:

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Wherefore art thou Data?

Friday 27 May 2011 12:13

by Steven E Bailey  | 7 comments

As a novice eZPublish programmer 6 year ago my biggest problem was always trying to find my data.  Of course attribute(show) was invaluable... and at first I wrote a shell script to parse that data to make it readable and years later I wrote ezfire to make that data more accessible...  But, for much of the time I was cursing and thinking - to paraphrase Mojo Nixon - "Where the hell's my data."

You must be logged in to track the activity of this blog!

Proudly Developed with from