Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
I enter the title, and then the name, and submit the post. Once saved i then have the title on the page, no problem yet in the name part it leaves this

currently : Dyno-Day-for-everyone.-One-run-for-£20-at-Dynodaze

what i want : Dyno Day for everyone. One run for £20 at Dynodaze

this name title sits at the top of the address bar on the tabs part and also on google.
How can i amend this. :lol:
Hi Simon,

The 'name' is meant to be used within the page's URL (with prettyURLs enabled, of course),
e.g. the page you mentioned would be accessed as
http://www.yoursite.com/dyno-day-for-ev ... odaze.html
This is the reason why it allows only the use of characters that are 'URL safe'.

The 'title', on the other hand is for the purpose of display only and has no such limitations. It can be anything you desire.

You say that it "sits at the top of the address bar on the tabs part and also on google", which is not true.
What appears on the tabs and the browser's title bar is whatever you place within the HTML "TITLE" tags.
For example, the following
Code: Select all
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Dyno Day for everyone. One run for £20 at Dynodaze</title>
</head>

will show the name as you want in the tabs and title bar (and Google too).

To dynamically use a cloned page's name as HTML title in Couch, you can use
Code: Select all
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><cms:show k_page_title /></title>
</head>

Please try it out and let me know.
Thanks.
2 posts Page 1 of 1