Thursday 26 May 2011 3:13:27 pm - 7 replies

Introduction

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."

» Read full blog post

Author Message

Gaetano Giunta

Friday 27 May 2011 12:58:59 am

Interesting and useful, thanks!

I think I'm gonna run with this code and integrate it into ggsysinfo...

Btw, did you ever try the latest version of the http://projects.ez.no/ezdebug_template_operator extension? It has a souped up version of the attribute() operator that is light years ahead of the original - plus another operator to list all the template variables defined in the current scope (ndt: not my code in the first place). These two together are imho priceless for the noob eZ developer.

Principal Consultant International Business
Member of the Community Project Board

Marko Žmak

Friday 27 May 2011 6:15:19 am

One extension I found to be usefull is show_variables:

It helped me a lot in detecting which variables are presen in attribute view template and also embed template (who would have tought of using $#ContentAttribute: namespace).

@gateano: Does the ezdebug_template_operator extension include the same functionality as show_variables?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Steven E. Bailey

Saturday 28 May 2011 7:57:39 am

Thanks, I hadn't looked at either of these projects.  I'm going to look at the code now.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Gaetano Giunta

Sunday 29 May 2011 11:31:08 am

@marko: yes - stole the idea and the code too ;-)

Principal Consultant International Business
Member of the Community Project Board

Marko Žmak

Sunday 29 May 2011 3:54:41 pm

"

@marko: yes - stole the idea and the code too ;-)

"

Great, so the ezdebug_template operator contains the enhanced version of the show_variable... I supose getDefinedvars is the equivalent...

Any chances of getting some docs about the operators?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Gaetano Giunta

Monday 30 May 2011 1:43:52 am

@Marko plentyful doc already, in the readme file once you install the extension ;-) (sorry for thread hijacking)

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Tuesday 31 May 2011 12:32:35 am

Hello guys !

Small "top-note" : the 

debug-log

operator has been around for some time now, not documented from day one but this is fixed today : 
http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Template-functions/Debugging/debug-log/(language)/eng-GB

Small 2 cents, sometimes useful,

Cheers ! 

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.