how set image in header

i need insert image in toolbar

You will need to alter the theme. I would do it in the custom folder so copy the theme files to /custom/themes//.

I think you will need to edit the header.tpl file to add in your image into the header and then alter the css as appropriate.

See this link for theme help: http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_6.5/02_Application_Framework/Themes/

Pertfect

copy custom/themes/mytheme/header.tpl and add line {include file="_photo.tpl" theme_template=true} ,

{include file="_head.tpl" theme_template=true}
<body onMouseOut="closeMenus();">
<a name="top"></a>
{$DCSCRIPT}
{if $AUTHENTICATED}
<div id="header">
    <div id="ajaxHeader">
        {include file="_headerModuleList.tpl" theme_template=true}
    </div>
    {include file="_globalLinks.tpl" theme_template=true}
   {include file="_photo.tpl" theme_template=true}   
    {include file="_welcome.tpl" theme_template=true}

    <div class="clear"></div>
    {include file="_headerSearch.tpl" theme_template=true}
    <div class="clear"></div>
    {if !$AUTHENTICATED}
        <br /><br />

next create file _photo.tpl


{if $AUTHENTICATED}

        <div id="search">

           <div class="wrapper">
            <img src="upload/photos/{$CURRENT_USER_ID}.jpg" width="36" >
</div>
        </div>


{/if}


:cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer:

2 Likes

Hi, thanks for this easy to follow instruction.

Where did you upload the image to and what did you call it?