CA Service Management

 View Only

How to change or add favicon (browser tab icon) to your CA SDM Site 

Feb 22, 2017 02:35 AM

Hi everyone,

 

I want to show, how to change favicon for your CA SDM site by a little customization

 

If you have an own icon for your site, you put the icon to following path

 

"//$NXRoot/site/mods/www/wwwroot/img/" folder

 

Second step, add / change to following code your custom style.htmpl file

 

 

<link rel="icon" href="$CAisd/sitemods/img/[faviconname].[png/jpg]">

 

then publish your custom style.htmpl file for all SDM servers

 

when you open your SDM site, browser tab icon show as following;

 

 

 Have a funny days,

Türker

Statistics
0 Favorited
27 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Feb 23, 2017 03:32 AM

In a more general way if you want to modify such global parameters (like the logo on your login page and many others) you can do it by copy/past the ahdtop_site.htmpl from the bopcfg\www\htmpl\default  folder into the \site\mods\www\htmpl\default folder

You can take example for the ahdtop.htmpl file and copy past line you would like to modify.

ahdtop_site is loaded at the last so your parameters will overwrite the default.

an example below:

 

<!-- <PDM_IF 0>
@(#)\$Id: ahdtop_site.htmpl,v 1.1 2006/11/01 18:00:42 olsjo01 Exp $
This file modifies variables created in ahdtop or creates new ones.
Access to these variables is available from the ahdtop object in all forms.

You should place your customized version of ahdtop_site.htmpl in
site/mods/htmpl/www/web/default/ahdtop_site.htmpl
</PDM_IF> -->
<PDM_PRAGMA RELEASE=110>
<!-- Start of ahdtop_site.htmpl -->

<SCRIPT LANGUAGE="JavaScript">

var cfgProductName = "Puratos Service Desk";
var cfgFormTitle = "Puratos Service Desk";
usdImg["product_banner"] = "$CAisd/img/My_logo_top.png";

 

var cfgProductName = "My Service Desk";
var cfgFormTitle = "My Service Desk";
usdImg["product_banner"] = "$CAisd/img/My_logo_top.png";
usdImg["circleca"]= "$CAisd/img/My_logo_top.png";

var argTenantLogo = "$CAisd/img/My_logo_top.png";
var cstTenantLogo = "$CAisd/img/My_logo_top.png";
var cstTenantLogoAlt = "$CAisd/img/My_logo_top.png";

 

</SCRIPT>

<script language="javascript" src="$CAisd/scripts/msg_cat_site.js"></script>
<!-- End of ahdtop_site.htmpl -->

 

Just also to note that favicon.icon is depreciated for modern browser and the <link rel="icon" type="image/png" href="favicon.png" /> tag will not be supported in old browser like IE9.

 

My 2 cents

 

/J

Feb 22, 2017 08:00 AM

Thank you for the additional information you gave.

 

Regards,

Feb 22, 2017 07:16 AM

thanks for it. Here are a few of my experiences

 

  • i added this line into styles_size.htmpl (this file is designed for customization styles i think)
  • file type .ico is not available by default
  • add same line in login.htmpl (for login page)
  • or you save favicon.ico into $NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\ROOT and you do not doing any customization in htmpl files

 

Bye
Lumir

Related Entries and Links

No Related Resource entered.