I also attempted to evaluate module-parameters in pagelayout.tpl to obtain some context-sensitivity.
Well, after quite some weeks of inquiry, trial & error to find a reliable set of module-parameters available in pagelayout.tpl, I came to acknowledge that there is no such set of parameters. Each module sends a custom API to $module_result, $Design_Keys or $view_parameters. Sometimes a parameter is there, sometimes not. As a result, I resorted to writing design extensions which calculate required params for my pagelayout.tpls. Another approach to create context-sensitive pagelayout with less programming effort is to design a set of module-dependent pagelayout_module.tpl's and let ezp choose them by override-rules, which is much more reliable than trying to access module-parameters. Think about it. It may save you much of the trouble I went through.
You must be logged in to post messages in this topic!