how can I create a plugin to do that?
Trustmaster |
|
---|---|
These are breadcrumbs but in header.tpl rather than body. The problem is that the header is normally sent to output before the body gets executed. So either you make a plugin for header.tags hook which duplicates those actions from core (not just those variables but also the way they are received), or we need to change the execution flow from header->body->footer to body->header->footer.
But what I would recommend for now is putting breadcrumbs in body templates rather than header template. It's not such a hard thing, especially with CSS. May the Source be with you!
|