Web help page titles

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
rconn
Posts: 21
Joined: Wed Mar 22, 2006 9:02 pm
Contact:

Web help page titles

Unread post by rconn »

I am using "Webhelp, iFrames Responsive, White-Grey.hmskin", and Google says my titles are too long.

Looking at the page titles, they're getting the breadcrumb trail inserted before the title, i.e. it comes out looking like this:

Topic > Subtopic > SubSubtopic > This is the title I really want

Is there some way to stop H&M from inserting the breadcrumbs?
User avatar
Martin Wynne
Posts: 2656
Joined: Mon May 12, 2003 3:21 pm
Location: West of the Severn, UK

Re: Web help page titles

Unread post by Martin Wynne »

rconn wrote:Is there some way to stop H&M from inserting the breadcrumbs?
Hi rconn,

You need to edit the skin. Open the skin file (.hmskin) and then go to Configuration > HTML Page Templates > Default

Near the top, find the line which looks like this (all one line):

Code: Select all

<title><IF_HTML><IF_TOPIC_BREADCRUMBS><%TOPIC_TITLE_PATH%></IF_TOPIC_BREADCRUMBS><IFNOT_TOPIC_BREADCRUMBS><%TOPIC_TITLE%></IFNOT_TOPIC_BREADCRUMBS></IF_HTML><IFNOT_HTML><%TOPIC_TITLE%></IFNOT_HTML></title>
and edit it down to simply:

Code: Select all

<title><%TOPIC_TITLE%></title>
Save the skin file, and then re-publish your project.

N.B. If you haven't previously edited the skin file, you may need to copy it from the installed H&M Windows location to somewhere else, such as your project folder, to make it editable. It's a good idea to give it a new file name so that you know what's been changed. Remember to set the new location in the Publish dialog.

regards,

Martin.
Post Reply