Strange trouble with prev/next calendar link

Author Message

Pascal France

Friday 05 October 2007 11:17:20 am

Hi,

Based on these two templates:

extension/ezwebin/design/ezwebin/override/templates/full/event_calendar.tpl
extension/ezwebin/design/ezwebin/override/templates/full/event_view_calendar.tpl

I did a fine working calendar:

http://www.luxpopuli.fr/cfdt/index.php/cfdt/rubriques_du_menu_gauche/mon_calendrier/(month)/10/(year)/2007

As we can see on the link above, the next/prev month links work perfectly (even after reloading the page).

The template codes used are here:
http://linuxorable.fr/apache2-default/ezp_calendar/event_view_calendar.tpl
http://linuxorable.fr/apache2-default/ezp_calendar/event_calendar.tpl

Now, I want the calendar is displayed on the right side of the home page. So I followed these steps:

1/ Activate for the right side the default calendar toolbar from the admin interface
2/ Copy design/standard/templates/toolbar/full/calendard.tpl to design/cfdt/templates/toolbar/full/
3/ Replace the default code of the template with the code of http://linuxorable.fr/apache2-default/ezp_calendar/event_calendar.tpl
4/ Do a copy of http://linuxorable.fr/apache2-default/ezp_calendar/event_view_calendar.tpl to design/cfdt/templates/toolbar/full/ and add a little code in order the toolbar is displayed only on the home page.
5/ Clear all caches.
The home page result is here:
http://www.luxpopuli.fr/cfdt/
...and the prev/next month links don't work anymore.

The first time I display the home page (I mean after clearing the caches) I can go to Sept, Aug, July etc... But if I click to next month to comeback then I go directly to October. And once to October, the prev/next link don't work anymore.

The same thing occures If I click to next month after clearing the caches: when I come back I go directly to October.

Thanks for your help

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Sunday 07 October 2007 9:29:02 am

Hi,

In fact, when I set the ViewCaching parameter to desabled (in [ContentSettings] section of site.ini.append.php), the right calendar works fine.

What should I do in order the calendar works even ViewCaching is set to enabled ?

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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 03:33:45
Script start
Timing: Jan 31 2025 03:33:45
Module start 'layout'
Timing: Jan 31 2025 03:33:45
Module start 'content'
Timing: Jan 31 2025 03:33:45
Module end 'content'
Timing: Jan 31 2025 03:33:45
Script end

Main resources:

Total runtime0.0289 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 588.2656151.2266
Module start 'layout' 0.00840.0046 739.4922220.7188
Module start 'content' 0.01310.0139 960.2109997.7266
Module end 'content' 0.02700.0019 1,957.937533.9922
Script end 0.0289  1,991.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.1170140.0002
Check MTime0.00113.9800140.0001
Mysql Total
Database connection0.00093.139110.0009
Mysqli_queries0.004816.468630.0016
Looping result0.00000.069310.0000
Template Total0.00134.510.0013
Template load0.00103.512910.0010
Template processing0.00031.014210.0003
Override
Cache load0.00072.436810.0007
General
dbfile0.00041.248580.0000
String conversion0.00000.031440.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.0002 secs