mathiasverraes / jdump

J!Dump is a very easy to use debugging extension for Joomla developers and template designers. Download links below.
http://twitter.com/mathiasverraes
43 stars 25 forks source link

dumpTemplate($this) on index.php of my admin and frontend template is always "null" ? #26

Closed garstud closed 10 years ago

garstud commented 10 years ago

Seems that from Joomla 3.x (i just check on 3.2 and 3.3) the template 's params have changed !?

Dure to some Changes in JRegistry (Joomla 3.2) and on the new Registry namespace (Joomla 3.3), now the property template->param>_registry does not exist anymore, so we need to change the source code of dumpTemplate() in JDump.

template->params->toObject() (or toArray() ) seems to be the good method to used !

I will provide a Pull Request to add the new code, but i have already verify this on Joomla 3.2 and Joomla 3.3 and it is okay !

mathiasverraes commented 10 years ago

closing, fixed in https://github.com/mathiasverraes/jdump/pull/27