How to customize header section completely

I want to customize header section completely.

I want to achieve following

1. Logo on left side

2. Login form  and search form in right hand side

 

Kindly suggest the solutions

Quote · 16 Aug 2011

For logo, you can change it from your admin panel -> settings

 

Do you want to remove the search form entirely or it should be modified?

----
Quote · 16 Aug 2011

Thanks for reply

Logo section I got it

 

Search will be also required in future

But for now on header section

Logo on left side and on right side login form (similar to fb kind of)

Thanks in advance

Quote · 17 Aug 2011

Got the code working

Here is the way which i followed : I got the code going using injection way in header

Steps

1. Create an injection record in database in table. I gave a name called as 'injection_login'

with following values

key : injection_login

type : php

data : return getLoginSection();

 

2. Open up the _sub_header.html file from the template directory(this file can be in ur base directory of templates folder or your custom template directory )

Add the injection code in the file after __main_logo__

<bx_injection:injection_login />

 

3. Now open inc/header.inc.php file and add the below function in the file

function getLoginSection(){
    if (!isLogged()) {
        $params = array('action_url'=>BX_DOL_URL_ROOT . 'member.php',
            'relocate_url'=>BX_DOL_URL_ROOT . 'member.php',
            'warning_text'=>'',
            'name_label'=>'Username',
            'password_label'=>'Password',
            'remeber_label'=>'Keep me logged in',
            'forgot_label'=>'Forgot Password',
            'submit_label'=>'Login',
            'forgot_page_url'=>'/forgot.php',
        );
        $sLoginSection .= $GLOBALS['oSysTemplate']->parseHtmlByName('login_form.html', $params);
        return $sLoginSection;
    }
    else{
        return '';
    }
}

 

4. Modify the login_form.css of your template according the the requirement of your template

 

That;s it you will start getting login section in your header

Hope this helps out for other techies

Quote · 18 Aug 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.