Forums / Developer / How to get the current Module and View
Hakim Bouras
Thursday 01 July 2010 11:51:54 pm
Hi,
From the pagelayout.tpl is there a way to get the current module and view ?
This information is not available in $module_result.
I am looking for a way to get it from a template, but if there is a way to get it from the API I can build an operator for this (I tried eZModule::currentModule but unfortunaltely it works only in the module context not out of the module).
Thanks,
Hakim