eZ Community » Forums » Discussions » Wherefore art thou Data?
expandshrink

Friday 27 May 2011 12:13:27 am - 7 replies

» Read full blog post

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

Friday 27 May 2011 9: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.

Friday 27 May 2011 3:15:19 pm

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?

Saturday 28 May 2011 4:57:39 pm

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

Sunday 29 May 2011 8:31:08 pm

@marko: yes - stole the idea and the code too blunk.gif Emoticon

Monday 30 May 2011 12:54:41 am

@marko: yes - stole the idea and the code too blunk.gif Emoticon

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?

Monday 30 May 2011 10:43:52 am

@Marko plentyful doc already, in the readme file once you install the extension blunk.gif Emoticon (sorry for thread hijacking)

Tuesday 31 May 2011 9: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/Techn...ebugging/debug-log/(language)/eng-GB

Small 2 cents, sometimes useful,

Cheers ! 

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from