Glossary Operator Oddity: IE 6 doesn't render it

Author Message

Alex Jones

Monday 21 July 2003 12:05:43 pm

I'm running into an odd behaviour with the implementation of the Glossary Operator. It runs perfectly when I view it in Netscape 7 on Windows XP, displaying links to the appropriate term. When I view the exact same page in IE 6 on the same machine I do not see the links that should be there - even when I view the source. I'm really confused as this code should all be processed server-side, so the browser shouldn't make a difference.

The code in the template to display is:

{let enabled=ezini("GlossarySettings", "GlossarySections", "glossary.ini") sectionid=$content_object.section_id}
{section name=Enabled loop=$enabled}
{switch match=$Enabled:item}
{case match=$sectionid}
{$content_version.data_map.description.content.output.output_text|glossary(true,472, "replace")}
{/case}
{case}
{attribute_view_gui attribute=$content_version.data_map.description}
{/case}
{/switch}
{/section}
{/let}

I've ensured that the second case isn't the one being displayed in IE. Any ideas?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alex Jones

Monday 21 July 2003 1:09:38 pm

This was a stupid mistake on my part. I had assigned the glossary to a new section and forgot to assign viewing right to the anonymous role...

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 31 2025 06:20:05
Script start
Timing: Jan 31 2025 06:20:05
Module start 'layout'
Timing: Jan 31 2025 06:20:05
Module start 'content'
Timing: Jan 31 2025 06:20:05
Module end 'content'
Timing: Jan 31 2025 06:20:05
Script end

Main resources:

Total runtime0.0121 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.2656151.2266
Module start 'layout' 0.00440.0022 739.492236.6797
Module start 'content' 0.00660.0039 776.171990.1875
Module end 'content' 0.01050.0016 866.359429.9922
Script end 0.0121  896.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002217.8082140.0002
Check MTime0.00119.3041140.0001
Mysql Total
Database connection0.00064.657910.0006
Mysqli_queries0.002319.307830.0008
Looping result0.00000.123810.0000
Template Total0.00129.710.0012
Template load0.00107.863410.0010
Template processing0.00021.804210.0002
Override
Cache load0.00065.241610.0006
General
dbfile0.00021.790580.0000
String conversion0.00000.068840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs