Forums / Setup & design / debugging templates

debugging templates

Author Message

Dave Dykshoorn

Thursday 31 July 2003 9:50:56 am

I am having a tough time debugging templates due to the fact that they incorporate a sort of eZp scripting / php hybrid that standard php debuggers simply won't do anything with.

Does anyone have any tips? I'm also finding it tough to debug modules due to function_definitions.php and module.php. Do I have to code a bunch of "fake input" php scripts to simulate what my template would send to the module so that I can run it through a decent php debugger?

I would assume that the eZp have some sort of trick or tool to debugging new modules and corresponding templates other than trial and error.

I am currently using NuSphere's phpEd to do my php work.

Any help, tips, suggestions, would be appreciated.

Thanks

Dave