Forums / Developer / glossary and help... what is this?

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

eZ debug

Timing: Jan 18 2025 03:00:54
Script start
Timing: Jan 18 2025 03:00:54
Module start 'content'
Timing: Jan 18 2025 03:00:55
Module end 'content'
Timing: Jan 18 2025 03:00:55
Script end

Main resources:

Total runtime0.6896 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.8281180.8359
Module start 'content' 0.00580.5248 769.6641600.4688
Module end 'content' 0.53060.1590 1,370.1328337.3672
Script end 0.6896  1,707.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.6292210.0002
Check MTime0.00160.2375210.0001
Mysql Total
Database connection0.00080.115710.0008
Mysqli_queries0.590785.64791990.0030
Looping result0.00200.28921970.0000
Template Total0.664996.420.3325
Template load0.00180.256220.0009
Template processing0.663196.155820.3316
Template load and register function0.00010.015710.0001
states
state_id_array0.00080.120110.0008
state_identifier_array0.00070.099520.0003
Override
Cache load0.00150.2171260.0001
Sytem overhead
Fetch class attribute can translate value0.00110.164940.0003
Fetch class attribute name0.00130.192770.0002
XML
Image XML parsing0.00220.315140.0005
class_abstraction
Instantiating content class attribute0.00000.001980.0000
General
dbfile0.01992.8784390.0005
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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