glossary and help... what is this?

Author Message

Marco Zinn

Sunday 11 May 2003 1:04:32 pm

Hi,
in a pagelayout template of the demo site, i found this line:

{include uri="design:page_head.tpl" enable_glossary=false() enable_help=false()}

Allthought they are "off", i'd like to know, what enable_glossary and enable_help will do.
Some kind of online-help and -glossary (I saw some discussion about ezAcronym...).
Can someone (ez?) give us a hint... an undocumented/not finished feature?

Marco
http://www.hyperroad-design.com

Hans Melis

Sunday 11 May 2003 11:07:48 pm

I'm working on a glossary operator for templates, so when I saw the incude line I had to investigate it. If you track that call, it'll go to link.tpl and that's where the answer is as well.

enable_glossary refers to the SDK tab (as you can see on sdk.ez.no) and enable_help refers to the Manual pages. Or was it the other way around? :) Both default to off in standard installs.

Hans
http://blog.hansmelis.be

Marco Zinn

Tuesday 13 May 2003 10:25:41 am

Allright, thanks, but I still don't understand the purpose of the "enables".
Will this enable an (existing) operator or so?

BTW: Thanks for your glossary operator. I can't use it yet, but it sound very good for ez3. I'd need something like that for ez2 ;)

Marco
http://www.hyperroad-design.com

Jan Borsodi

Tuesday 13 May 2003 12:17:44 pm

If these variables are set to true() they the link.tpl template will add some
<link rel="" href=""> tags to the header.
The <link> tags are hints which the web browser can use, for instance Opera 7 uses this to create a top bar with Home, Index, Search, Glossary etc. Lynx will also use these tags and display them at the top.

For instance try Opera 7 or Lynx on ez.no. (You might have to enable it in Opera 7, View/Navigation Bar/Auto should do it)

If you enable glossary and help, the sdk and manual will be added.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 10:38:38
Script start
Timing: Jan 18 2025 10:38:38
Module start 'layout'
Timing: Jan 18 2025 10:38:38
Module start 'content'
Timing: Jan 18 2025 10:38:39
Module end 'content'
Timing: Jan 18 2025 10:38:39
Script end

Main resources:

Total runtime0.6784 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.9141152.6250
Module start 'layout' 0.00590.0040 740.539139.4453
Module start 'content' 0.00990.6672 779.9844595.3906
Module end 'content' 0.67710.0013 1,375.375012.1563
Script end 0.6784  1,387.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4770160.0002
Check MTime0.00140.2097160.0001
Mysql Total
Database connection0.00140.211510.0014
Mysqli_queries0.618591.1740620.0100
Looping result0.00070.1010600.0000
Template Total0.645595.120.3228
Template load0.00220.323720.0011
Template processing0.643394.823020.3217
Template load and register function0.00020.034210.0002
states
state_id_array0.00130.195210.0013
state_identifier_array0.00130.197020.0007
Override
Cache load0.00190.2784260.0001
Sytem overhead
Fetch class attribute can translate value0.00070.097530.0002
Fetch class attribute name0.00120.180970.0002
XML
Image XML parsing0.00160.236030.0005
class_abstraction
Instantiating content class attribute0.00000.002680.0000
General
dbfile0.00110.1613280.0000
String conversion0.00000.001340.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs