Page 1 of 1

[Solved]Page Title Metadata

Posted: Tue Mar 09, 2010 12:58 pm
by KJHunt
CMS Information
1.4.1 "Spring Garden"
Server API (server_api): cgi 
Server Database (server_db_type): MySQL (mysql) 
Server Database Version (server_db_version): 5.0.89 
Server Software (server_software): Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 
Server Operating System (server_os): Linux 2.6.9-89.0.11.ELsmp On i686

I want to have different Page Title Metadata to what is contained in the Actual Page Content Title (Title), but the CMS default automatically loads the Page Content Title into the Page Title Metadata.  How can I change this to have independent Title Metadata.

Example:

In the Page editor the Title is "Teenager Horse Riding Programmes" and the CMS automatically places this in the Page Title Meta Tag.
I want to enter the Title Meta Tag as "Teenager Horse Riding Programmes at Crossogue Equestrian, Tipperary, Ireland"

If I add this Title in the Page Option under Page Specific Metadata: or Description (title attribute):, I will have 2 Page Title Tags showing in the source code.

I have searched through the forum, but cannot find this specific answer.  I hope someone will help me. Thank you.

Re: Page Title Metadata

Posted: Tue Mar 16, 2010 11:11 pm
by Dr.CSS
You are using a non supported version of cmsms, we only go back 2 versions, upgrade ASAP for continued support...

Put a {content block='headertitle'} in the header title where the {title} is and you can put whatever you want in it when editing page, or don't use {title} any where else and put your long page title in it for head title...

Re: Page Title Metadata

Posted: Wed Mar 17, 2010 10:51 am
by KJHunt
Dear Dr CSS
Many thanks for your reply and you have pointed me in the right direction and solved my problem for the metatag.

SOLUTION:
In my template (standard cms) the following line was reading:

{sitename} - {title}
{metadata}

I changed this to:

{sitename} - {description}
{metadata}

This is now perfect to display the Description (title attribute): which I can enter on the Options Tab for each Page.

I do note however that it also places this information on the navigation button for the page as a "Title" tag which would make sense, but is not what I want.  On the navigation button I just want to show the Menu Text:

I can see the code that is doing this is:




So I will have to modify the link rel to use Menu Text instead.

Dr. CSS
If I make these changes to the template does upgrading to the latest version affect thses changes?

Thanks again Dr CSS

Re: Page Title Metadata

Posted: Sat Mar 20, 2010 3:04 am
by Dr.CSS
Changing things in your template doesn't get effected by upgrading...