Extend the header component development

Moneya Posted in Component Development 7 years ago

Hi,
i have a component i am working on.
I am trying to extend the top header of my component page to include an Html banner code.
I have created an empty banner.php file
i studied the Html Sidebar component to learn about how to add the admin settings page to a component but i have one issue.
The code below is for extending the side bar.

ossn_add_hook('newsfeed', "sidebar:right", 'html_widget');

I want to extend my component page header using my banner.php file, how do i go about this?

Replies
ng Moneya Replied 7 years ago

Thanks zet.
I was hasty, i should have studied the htmlside-bar component.

German Michael Zülsdorff Replied 7 years ago

Why are you not simply using a standard php include "banner.php"; on your component page? For what reason do you need a hook there?