$site and $meta are in the PHP

Author Message

Richard Wood

Sunday 12 January 2003 5:03:24 am

At the line at the top of the browser a variable called $site.title comes into play and in served pages you'll see where another called $meta generates meta tags as well.
I was surprised to find that $site and $meta are hardcoded into index.php.
Or perhaps is is yet another example where using the windows install and then moving it to a host leaves you missing semi-critical areas of configuration that might have occured in a linux install?
Let's hope this get's tidied up in a future release, but really $site and $meta should surely be in the Admin interface.
Richard.

Bruce Morrison

Sunday 12 January 2003 3:29:08 pm

> At the line at the top of the browser a variable called
> $site.title comes into play and in served pages you'll see
> where another called $meta generates meta tags as well.
> I was surprised to find that $site and $meta are hardcoded
> into index.php.
> Or perhaps is is yet another example where using the windows
> install and then moving it to a host leaves you missing
> semi-critical areas of configuration that might have occured
> in a linux install?
> Let's hope this get's tidied up in a future release, but
> really $site and $meta should surely be in the Admin
> interface.
> Richard.

I've noticed this as well. The settings/site.ini(.php) has a [SiteSettings] section with a Site Name option in it. Version 2 has a similar setting.

Currently, changing this in V3 has no effect.

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

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 30 2025 19:38:20
Script start
Timing: Jan 30 2025 19:38:20
Module start 'layout'
Timing: Jan 30 2025 19:38:20
Module start 'content'
Timing: Jan 30 2025 19:38:21
Module end 'content'
Timing: Jan 30 2025 19:38:21
Script end

Main resources:

Total runtime1.1545 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.2578151.2266
Module start 'layout' 0.00690.0039 739.4844220.7188
Module start 'content' 0.01081.1428 960.20314,430.0234
Module end 'content' 1.15360.0008 5,390.22667.9922
Script end 1.1544  5,398.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2834160.0002
Check MTime0.00120.1023160.0001
Mysql Total
Database connection0.00110.092410.0011
Mysqli_queries1.068192.5178540.0198
Looping result0.00060.0557520.0000
Template Total1.090594.520.5453
Template load0.00230.196920.0011
Template processing1.088294.263520.5441
Template load and register function0.00130.109910.0013
states
state_id_array0.00230.202610.0023
state_identifier_array0.00160.138520.0008
Override
Cache load0.00170.1482250.0001
Sytem overhead
Fetch class attribute can translate value0.00200.174820.0010
Fetch class attribute name0.00250.219630.0008
XML
Image XML parsing0.00090.080620.0005
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00090.0785160.0001
String conversion0.00000.000640.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs