Would like to see a more templatable way of the the crumb parts.
What I do is very simple;
Modify the breadcrumbs class inside the model directory and add these lines below the $this->_tpls = array(); definition
/* parse tpl names into _tpls array */
foreach($this->config as $key => $value) {
if(substr($key, 0, 10) == 'bcTplCrumb') {
$this->_tpls[$key] = $value;
}
}
Now you can add properties with the tpl name and override the templates within the breadcrumb. Other possibility is also fine by me but this works great and is easy to apply
Would like to see a more templatable way of the the crumb parts.
What I do is very simple;
Modify the breadcrumbs class inside the model directory and add these lines below the $this->_tpls = array(); definition
/* parse tpl names into _tpls array */ foreach($this->config as $key => $value) { if(substr($key, 0, 10) == 'bcTplCrumb') { $this->_tpls[$key] = $value; } }Now you can add properties with the tpl name and override the templates within the breadcrumb. Other possibility is also fine by me but this works great and is easy to apply