When I started customizing my Laconica installation, the first place that I found to put a header for my site was in the actions/public.php file. I modified the showAnonymousMessage ( ) function to place an image and navigation. Only problem with this is that it did only displayed my banner on the front page. Once the user logged in, the banner was no longer visible.
In the lib/action.php file, I added the same showAnonymousMessage() and updated the calls to it. Here is the example of what I modified in order to call the header. Interestingly, the call in the else statement was making the banner show up twice. Commenting it out solved the problem.
function showHeader()
{
$this->elementStart(‘div’, array(‘id’ => ‘header’));
$this->showLogo();
$this->showPrimaryNav();
$this->showAnonymousMessage();
$this->showSiteNotice();
if (common_logged_in()) {
$this->showNoticeForm();
} else {
/*$this->showAnonymousMessage(); */
}
$this->elementEnd(‘div’);
}