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

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.

eZ debug

Timing: Jan 19 2025 06:03:16
Script start
Timing: Jan 19 2025 06:03:16
Module start 'content'
Timing: Jan 19 2025 06:03:17
Module end 'content'
Timing: Jan 19 2025 06:03:17
Script end

Main resources:

Total runtime0.7881 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 590.4688180.7813
Module start 'content' 0.00930.6564 771.2500497.4063
Module end 'content' 0.66570.1223 1,268.6563332.7109
Script end 0.7880  1,601.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5185210.0002
Check MTime0.00160.2086210.0001
Mysql Total
Database connection0.00110.139210.0011
Mysqli_queries0.720691.44351910.0038
Looping result0.00200.25931890.0000
Template Total0.755895.920.3779
Template load0.00230.297120.0012
Template processing0.753595.608620.3767
Template load and register function0.00030.034810.0003
states
state_id_array0.00160.196910.0016
state_identifier_array0.00140.176920.0007
Override
Cache load0.00180.225580.0002
Sytem overhead
Fetch class attribute can translate value0.00100.124930.0003
Fetch class attribute name0.00160.203330.0005
XML
Image XML parsing0.00130.167130.0004
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00580.7417270.0002
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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