Rank: Member
Joined: 6/6/2005(UTC) Posts: 483
|
How do I remove the "Home" from the "Home - Store Name" on the browser home page display for our site. I remember doing this several years ago but forgot how I did it. I remember it was easy to do but there was a trick to make it work right.
Thanks. Bob Noble
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
You need to edit your Home.master file in your theme or, if you don't have that file in your theme, your Default.master file. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 4/29/2010(UTC) Posts: 256
Thanks: 4 times Was thanked: 11 time(s) in 10 post(s)
|
Another possibility would be to add the following line Me.Page.Title = Content.SiteTerms.GetTerm("HomepageTitle") within the <siteroot>\default.aspx.vb e.g. Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit Me.MasterPageFile = PersonalizationServices.GetSafeMasterPage("Home.master") Me.Page.Title = Content.SiteTerms.GetTerm("HomepageTitle") SessionManager.CategoryLastId = String.Empty End Sub Then go to Admin >> Options >> SiteTerms Add a new term Term: HomepageTitle and set the value what you would like to prefix the - Store Name. You can then change this at a later date without modifying your theme. This is how pages such as contactus.aspx work Edited by user Tuesday, March 5, 2013 11:21:57 AM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.