On Page Load Anchor

Author Message

Cormac McGloin

Sunday 03 July 2005 10:16:23 am

Hey all, I run a gallery on my ezpublish driven site and currently when you click a picture you can only see the top half of it (1024x768 screen resolution) and this is most annoying.

I was wondering if it was possible (and what would be the best way) to load the page further down (so as to see the whole picture).
I understand how anchors works and how to use them with links but I'm not sure how to use them when I page loads.

Any help appreciated.

Arran Price

Sunday 03 July 2005 3:49:37 pm

Sounds like you need to find the template that creates the link to open the image and edit it to use an anchor. You would also need to add the anchor to the template that displays the image. If you put template debugging on, you should be able to locate the correct templates.

hope thats of some help.

Arran

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 19 2025 02:30:25
Script start
Timing: Jan 19 2025 02:30:25
Module start 'layout'
Timing: Jan 19 2025 02:30:25
Module start 'content'
Timing: Jan 19 2025 02:30:27
Module end 'content'
Timing: Jan 19 2025 02:30:27
Script end

Main resources:

Total runtime2.6274 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 589.1484152.6250
Module start 'layout' 0.00830.0044 741.773439.4297
Module start 'content' 0.01272.6131 781.2031456.9688
Module end 'content' 2.62580.0016 1,238.17198.1875
Script end 2.6274  1,246.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.1403160.0002
Check MTime0.00150.0565160.0001
Mysql Total
Database connection0.00130.051110.0013
Mysqli_queries2.570797.8388540.0476
Looping result0.00130.0484520.0000
Template Total2.540796.721.2703
Template load0.00240.092620.0012
Template processing2.538296.604021.2691
Template load and register function0.00030.009910.0003
states
state_id_array0.00510.193210.0051
state_identifier_array0.00220.082520.0011
Override
Cache load0.00180.0686110.0002
Sytem overhead
Fetch class attribute can translate value0.00070.026920.0004
Fetch class attribute name0.00180.067720.0009
XML
Image XML parsing0.00020.008720.0001
class_abstraction
Instantiating content class attribute0.00010.004120.0001
General
dbfile0.00080.0299100.0001
String conversion0.00000.000340.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs