Cameron Beattie | 1 Sep 2005 07:24
Picon
Favicon

Alter plone default title - remove mdash

The default title for a page in Plone seems to be "document title mdash site 
title". I did a bit of searching but can't figure out how to change this. 
Any advice would be appreciated.

Regards

Cameron 

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Aaron VanDerlip | 1 Sep 2005 17:24
Favicon

Re: Alter plone default title - remove mdash

Path to code
portal_skins/plone_templates/header

code snippet

 <title tal:define="portal_title portal_properties/title;
                       page_title here/pretty_title_or_id">
        <tal:pagetitle replace="page_title">
            Inserts page title
        </tal:pagetitle>
        &mdash;
        <tal:portaltitle replace="portal_title">
            Inserts portal title
        </tal:portaltitle>
    </title>

Cameron Beattie wrote:
> The default title for a page in Plone seems to be "document title mdash
> site title". I did a bit of searching but can't figure out how to change
> this. Any advice would be appreciated.
> 
> Regards
> 
> Cameron
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
(Continue reading)

J Cameron Cooper | 1 Sep 2005 16:46
Favicon

Re: Alter plone default title - remove mdash

Cameron Beattie wrote:
> The default title for a page in Plone seems to be "document title mdash 
> site title". I did a bit of searching but can't figure out how to change 
> this. Any advice would be appreciated.

It's in the plone_templates layer, in the component called 'header'. 
Which defines, neatly enough, the HTML HEAD element for all Plone pages.

		--jcc
--

-- 
"Building Websites with Plone"
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Cameron Beattie | 2 Sep 2005 02:07
Picon
Favicon

Re: Alter plone default title - remove mdash

Many thanks for you help, once again.

Cameron
----- Original Message ----- 
From: "J Cameron Cooper" <jccooper@...>
To: "Cameron Beattie" <kjcsb@...>
Cc: <plone-users@...>
Sent: Friday, September 02, 2005 2:46 AM
Subject: Re: [Plone-users] Alter plone default title - remove mdash

> Cameron Beattie wrote:
>> The default title for a page in Plone seems to be "document title mdash 
>> site title". I did a bit of searching but can't figure out how to change 
>> this. Any advice would be appreciated.
>
> It's in the plone_templates layer, in the component called 'header'. Which 
> defines, neatly enough, the HTML HEAD element for all Plone pages.
>
> --jcc
> -- 
> "Building Websites with Plone"
> http://plonebook.packtpub.com/
>
> Enfold Systems, LLC
> http://www.enfoldsystems.com
>
> 

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
(Continue reading)


Gmane