Linking to a message in eZ Forums removes top content

Author Message

Henrik Jagels

Wednesday 05 December 2007 4:02:27 am

Hi,

I have a major problem when I use anchors to link to text on a long page. Check out this page:

http://www.uia.no/no/portaler/aktuelt/debattforum/universitetets_rolle_i_regionen#msg35329

(The link to this page is here: http://www.uia.no/no/portaler/aktuelt/debattforum
under "siste svar" (most recent post))

This links to a specific message in a discussion. I thought it should be possible to scroll up to see the whole discussion? As you can see, the top of the webpage is just cut off...

In this forum (yes the forum you are reading now ;), this is not a problem. But clicking on the latest post actually takes you to the start of the topic. I expected to come directly to the latest post when I clicked on it.....

Anyone with some info on this subject ?

Paul Leclercq

Wednesday 05 December 2007 5:11:00 am

Hello,

This is a stylesheet error and not really related to eZpublish.

if you look at the code of your page you will see that your "content" class has overflow set to hidden.

If you de-activate this then you will not get this error anymore. But this will probably impact the rest of the site.

#content {uia.css (line 132)
background:#FFFFFF none repeat scroll 0%;
border-top:1px solid #BAB0A4;
clear:both;
height:100%;
overflow:hidden;
}

Henrik Jagels

Wednesday 05 December 2007 5:22:43 am

Hi Paul,

Thanks for the answer! Just tested and everything works fine if I remove the overflow: hidden.

As you said, this breaks other stuff on our site. But atleast now I know what I need to fix to get this working... ;-) Thanks again!

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

Main resources:

Total runtime0.6308 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1563152.6563
Module start 'layout' 0.00480.0029 740.812539.5078
Module start 'content' 0.00760.6219 780.3203503.5938
Module end 'content' 0.62950.0013 1,283.914112.1094
Script end 0.6308  1,296.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5040160.0002
Check MTime0.00130.2062160.0001
Mysql Total
Database connection0.00050.081810.0005
Mysqli_queries0.584392.6254570.0103
Looping result0.00050.0768550.0000
Template Total0.603795.720.3019
Template load0.00170.270320.0009
Template processing0.602095.432620.3010
Template load and register function0.00020.024910.0002
states
state_id_array0.00150.232610.0015
state_identifier_array0.00070.111420.0004
Override
Cache load0.00150.2299280.0001
Sytem overhead
Fetch class attribute can translate value0.00070.105120.0003
Fetch class attribute name0.00100.160340.0003
XML
Image XML parsing0.00150.243320.0008
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00170.2764150.0001
String conversion0.00000.001140.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs