[solved] Remove the word "Home" from the Main Page Title.

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
rorygul
New Member
New Member
Posts: 5
Joined: Mon Jul 11, 2011 8:25 pm

[solved] Remove the word "Home" from the Main Page Title.

Post by rorygul »

Hi Folks,

I've searched and searched, finding only posts relating to news and content heading.

Anyway, the word Home is not a relevant title for the page in this case.

How can I remove it, or can I? Example; I want "Dog Biscuits" and not "Home | Dog Biscuits".

I thought, from years ago, that I could make an internal page / Article, the Home page - and this would do, but I couldn't find that either.

Sincerely Rusty,
User avatar
frankmanl
Power Poster
Power Poster
Posts: 425
Joined: Sat Jul 12, 2008 3:50 am

Re: Remove the word "Home" from the Main Page Title.

Post by frankmanl »

Somewhere in your template you'll see:

Code: Select all

<title>{title} | {sitename}</title>
Change that to

Code: Select all

<title>{title}</title>
and make your page title Dog Biscuits.
In this way only your page title is shown, not the site name.

Frank
rorygul
New Member
New Member
Posts: 5
Joined: Mon Jul 11, 2011 8:25 pm

Re: Remove the word "Home" from the Main Page Title.

Post by rorygul »

Thanks Frankmani,


It was never the intention to show the site name, with the page title. This was turned off.

So how could "Home" apply, as its not the site name?
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Remove the word "Home" from the Main Page Title.

Post by Jos »

Home is the title of the page that is set as default in the page overview
rorygul
New Member
New Member
Posts: 5
Joined: Mon Jul 11, 2011 8:25 pm

Re: Remove the word "Home" from the Main Page Title.

Post by rorygul »

Yes Jos,

I understand that, but how can I remove it? And where from?

I just want "Dog Biscuits" in the title when I view the source code of the document.

I'm almost certain that I was able to do this, many years ago, but haven't used cmsmadesimple, since - the solution wasn't mine either and I must have found it on this forum.

Alas, I can't find it now.

Any pointers?
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Remove the word "Home" from the Main Page Title.

Post by Jos »

editing the title in the page that is marked as default won't work??

Or is "Dog Biscuits" your sitename? Then change the line frankmanl pointed at to

Code: Select all

<title>{sitename}</title>
but I guess that was obvious from his post :-X
rorygul
New Member
New Member
Posts: 5
Joined: Mon Jul 11, 2011 8:25 pm

Re: Remove the word "Home" from the Main Page Title.

Post by rorygul »

Oh maybe,

If i can tweak this on a per page basis, and not globally.

"Dog Biscuits" is the site name, and I don't want that showing/appended/prefixed/suffixed, on other pages, so I turn it off.

Ye are suggesting that I turn off the default home title, and show the sitename only? And I can do this, just for the main page? Well that would be fine, if its possible.
Where would I put that code?

And thanks.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

Re: Remove the word "Home" from the Main Page Title.

Post by M@rtijn »

We can't not know how you've set up your website, but I think it should not be that hard to fix it.

Go to your admin panel, 'layout' -> 'templates'. Then select the template your are using for your pages (you are the only one who knows which template is used for which page)

Search in that template for anything which looks like

Code: Select all

<title>{title} | {sitename}</title>
(as frankmanl said)

Change it to

Code: Select all

<title>{title}</title>
(as frankmanl said)

Then go to you page (in your admin panel, 'content' -> 'pages'. Click on the page we are talking about (again only you can know which one that is, but I presume it will be the page with the name 'home'). The second text box is called 'title'.
Specify the title you want (Dog Biscuits) and presto you have a page with a title Dog Biscuits.
Now if you want that title for every page, simply type in 'Dog Biscuits' for every page you have on your website.
If you want a certain page with a different name, just type that in the box.

It's not rocket science ;D
Make your community a better place!
rorygul
New Member
New Member
Posts: 5
Joined: Mon Jul 11, 2011 8:25 pm

Re: Remove the word "Home" from the Main Page Title.

Post by rorygul »

Okay, I must be joomlafied.

Thanks for your patience.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Remove the word "Home" from the Main Page Title.

Post by Jos »

rorygul wrote:joomlafied
lol ;D how does that feel?
Post Reply

Return to “The Lounge”