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.