Either shoot me or help me - I'm going mad. Previous / Next links on forum topics.

Author Message

paul cozens

Thursday 19 August 2004 7:09:10 pm

I have set up site using the default forum template. After working on the site for some time I noticed that when you are viewing a topic, the previous and next links are still active even if you are at the end or beginning of the list. To simplify, I have topic 1, topic 2 & topic 3. When viewing topic 1 the previous link should be unavailable as there is no prior topic. topic 2 should have an active previous and next link and topic 3 should only have an active previous link but not an active next link. This worked correctly when I first installed the site and for some time after but somewhere it all fell apart. I have backtracked through my changes but it still doesn't work. The only way I have so far found to restore the correct operation of the links is to re-run the setup. The CSS files have not changed and I have even imported a sql database from a working install but without success. Please either shoot me or help me as this problem is driving me mad.

Gurudutt Verma

Wednesday 25 August 2004 4:55:55 am

Hi
I guess you might have changed the file : design/standard/templates/navigator/google.tpl, do one thing, download new copy of ezpublish and unzip it and then check for above file and compare with your file if it differ then replace with your file and clear the cash then it should work.

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 09:06:15
Script start
Timing: Jan 19 2025 09:06:15
Module start 'layout'
Timing: Jan 19 2025 09:06:15
Module start 'content'
Timing: Jan 19 2025 09:06:16
Module end 'content'
Timing: Jan 19 2025 09:06:16
Script end

Main resources:

Total runtime1.4007 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.0060 589.6484152.6875
Module start 'layout' 0.00600.0032 742.335939.5234
Module start 'content' 0.00921.3900 781.8594492.2813
Module end 'content' 1.39920.0015 1,274.14068.0625
Script end 1.4007  1,282.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2588160.0002
Check MTime0.00150.1036160.0001
Mysql Total
Database connection0.00100.071210.0010
Mysqli_queries1.354096.6615540.0251
Looping result0.00080.0559520.0000
Template Total1.362597.320.6813
Template load0.00190.136120.0010
Template processing1.360697.133320.6803
Template load and register function0.00030.018310.0003
states
state_id_array0.00100.071010.0010
state_identifier_array0.00310.222020.0016
Override
Cache load0.00150.108880.0002
Sytem overhead
Fetch class attribute can translate value0.00070.052020.0004
Fetch class attribute name0.00120.088730.0004
XML
Image XML parsing0.00380.268620.0019
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00390.2787160.0002
String conversion0.00000.000640.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 6

Time used to render debug report: 0.0001 secs