Hi!
- I created custom module view in view.detail.php
In that addon I reinitialized a template set, that I take from base place
public function preDisplay()
{
…
$this->dv->setup($this->module, $this->bean, $metadataFile, get_custom_file_if_exists(‘modules/cust_basetest/tpls/detailview/DetailView.tpl’));
…
}
- If I copy templates from include/DetailView/ to module path, view model brokes. In DetailView.tpl I see that header not loaded, but how it load from another path?
I mean this block :
{{include file=$headerTpl}}
<div id="{{$module}}_detailview_tabs" {{if $useTabs}} class="yui-navset detailview_tabs" {{/if}}
{sugar_include include=$includes}
My question is where $headerTpl , $includes are assigned ? And how reasign them to another path?