Changing the Title of a SalesLogix 7.2.1 Web Portal

Using 7.2.1, if you change the portal title this change does not reflect as the title of the deployed site. For example, if you change it from “Sage SalesLogix” to “SalesLogix Development System”, then deploy the site, it will still show “Sage SalesLogix” as the site’s title. I should mention, this was not a problem in pre-SP1 (7.2.0) systems  it worked fine there.

On line 78 of base.master, you’ll see:

Page.Title = GetLocalResourceObject("PageTitle").ToString();

However, the “PageTitle” resource entry in base.master.resx still shows “Sage SalesLogix”. The new title does actually exist in the Portal.resx file, named “PortalTitle”.

<data name="PortalTitle" xml:space="preserve">
    <value>SalesLogix Development System</value>
</data>

So, shouldn’t line 78 of base.master read the following?

Page.Title = Resources.Portal.PortalTitle;

This does cause the title of the site to display correctly as the title I set in AA (as “SalesLogix Development System”). Of course, you’d need to make this change in the other master pages as well.

HOWEVER, come to think of it, that still doesn’t get it back to how it was before SP1. Before SP1 it would display the title as:

<PortalTitle> - <PageTitle>

So, I look in the deployed page files, such as Account.aspx.cs and the OnPreInit event does include the following:

this.Title = Resources.Portal.PortalTitle + " - " + GetResource("PageTitle");

So, long story short – just remove the line 78 from the base.master to fix this.

You’ll also need to change this in the login.master. Locate line 27 of login.master and change from this:

Page.Title = GetLocalResourceObject("LoginPageTitle").ToString();

to this:

Page.Title = Resources.Portal.PortalTitle;

And all is well again 🙂

ABOUT THE AUTHOR

Ryan Farley

Ryan Farley is the Director of Development for Customer FX and creator of slxdeveloper.com. He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. His new passion for CRM is Creatio, formerly bpm'online. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!