Page Title Problem

Author Message

Trevor Clowry

Wednesday 24 August 2005 4:08:02 am

I am having a problem with the <title> tag of the website I am creating. The site uses the default page_head.tpl and the output of the title tag is:

<title>Archive / News / eZ publish - Test Website</title>

I am trying to remove the "eZ publish" from the title tag. It is showing up as it is the name of the top level node in the content structure of ezpublish.

Is there a way i can rename this or hide it in the page title.
Thanking you in advance.

 

Felix Laate

Wednesday 24 August 2005 4:22:20 am

Hi Trevor!

Just guessing, but I think you could change this part of page_head.tpl (or better make an altered override):

{set-block scope=root variable=site_title}
{section loop=$Path:reverse_path <b>offset=1</b>}{$:item.text|wash}{delimiter} / {/delimiter}{/section} - {$site.title|wash}
{/set-block}

The "ez Publish" is simply the title of the top-level folder. It can easily be altered in admin-interface.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 15:55:12
Script start
Timing: Jan 18 2025 15:55:12
Module start 'layout'
Timing: Jan 18 2025 15:55:12
Module start 'content'
Timing: Jan 18 2025 15:55:13
Module end 'content'
Timing: Jan 18 2025 15:55:13
Script end

Main resources:

Total runtime0.8796 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.2266152.6094
Module start 'layout' 0.00490.0032 741.835939.4297
Module start 'content' 0.00810.8699 781.2656520.6484
Module end 'content' 0.87800.0015 1,301.91418.1875
Script end 0.8795  1,310.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3901160.0002
Check MTime0.00140.1645160.0001
Mysql Total
Database connection0.00070.078810.0007
Mysqli_queries0.834694.8862540.0155
Looping result0.00050.0577520.0000
Template Total0.842395.820.4212
Template load0.00280.322420.0014
Template processing0.839595.441220.4197
Template load and register function0.00030.029010.0003
states
state_id_array0.00240.274010.0024
state_identifier_array0.00140.156420.0007
Override
Cache load0.00240.2773160.0002
Sytem overhead
Fetch class attribute can translate value0.00040.049920.0002
Fetch class attribute name0.00090.107930.0003
XML
Image XML parsing0.00060.063420.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00230.2615160.0001
String conversion0.00000.003440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs