[ptagenda] discussions about ptagenda extension

Author Message

Patrice Fortin

Friday 10 November 2006 7:28:45 am

This is the following of comment "Small calendar bugs" found there:
http://ez.no/community/contribs/applications/ptagenda

Hi Laurent, here is where I am with my investigation:

about the problem you noted: "if the month printed is january 2007 and I press previous month, the calendar jump to november (current month)."
I found out that when I go back to a page which is in cache, the $view_parameters.month is not took from url, so the template believes we are looking at the current month, which is wrong.

What I did: add in my siteaccess/MySite/viewcache.ini.append.php
[ViewCacheSettings]
SmartCacheClear=enabled

It seemed to have solved the problem.

But, when I remove these lines in viewcache.ini, remove var/cache var/MySite/cache, clear all cache, I still no longer have the problem.

So, I can no longer investigate since I don't have the problem anymore.

Any idea what happened ?

thanks
Patrice

laurent le cadet

Friday 10 November 2006 7:45:18 am

be aware about cache cause it can slow down your server quickly if you don't know what you are playing with exactly.

I you said it seems to be a cache so it's better to work localy whith {cache-block} than to use the global ini.

laurent

kracker (the)

Sunday 12 November 2006 6:50:33 pm

<b>@Patrice</b>

I wanted to take a moment to invite you to submit your contribution, 'ptagenda' to the http://pubsvn.ez.no community subversion server's extension repository (eZ publish community svn hosting)!

This increases the availability of the source code and gives others the ability to more simply submit patches back to you the maintainer. More and more people are relying on the continued maintenance of released extensions gone stale and revived by the community. All good things :)

The community is actively collecting, maintaining and documenting eZ publish extensions
<i>http://pubsvn.ez.no/community/trunk/extension/</i>
<i>http://pubsvn.ez.no/wiki/en/ez/extensions</i>

//kracker

<i>Eyedea And Abilities - Reintroducing</i><b>...</b>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Patrice Fortin

Monday 13 November 2006 9:47:12 am

@laurent le cadet

In fact, this was for testing, trying to start general, and coming to an accurate source of the problem.

I guess I would have put something like

[agenda]
DependentClassIdentifier[]
DependentClassIdentifier[]=agenda
ClearCacheMethod=clear_object_and_relating_objects_caches

in settings/siteaccess/MySite/viewcache.ini.append.php

But, frankly, I am not 100% sure what I'm doing :)
I'm quite new to eZpublish, so I greatly appreciate your help.

does adding

{set-block scope=root variable=cache_ttl}0{/set-block}

is better than modifying the file settings/siteaccess/MySite/viewcache.ini.append.php ? or what's the difference?

Patrice Fortin

Monday 13 November 2006 10:40:13 am

@kracker

I'm very interested in using public svn to collaborate with other people. Although, I don't find any documentation on how to submit it into /trunk/extension/ptagenda, and I am not that familiar with svn.

So if you could point me to some howto for submitting there, or if you could tell me the few steps to do to submit, I would appreciate!

thanks
Patrice

kracker (the)

Monday 13 November 2006 12:30:19 pm

<b>@Patrice</b>

It seems someone heard your request ;)
As a new line exists on the pubsvn.ez.no page

"First time users? Read the docs on SVN and read more about the community server."
<i>http://ez.no/products/ez_publish/documentation/incoming/the_community_server/help/svn</i>

You must first email a request to the administrators (email address listed on page)
<i>http://pubsvn.ez.no/community-development.html</i>

I would also download and install the client software 'TortiseSVN' (SVN GUI)
<i>http://tortoisesvn.tigris.org/</i>

I should also add an entry to the wiki describing this process.

<b>Update!</b>
I've created the starting of a tutorial, 'Using PubSVN Subversion Repositories'
<i>http://pubsvn.ez.no/wiki/en/ez/using_pubsvn_subversion_repositories</i>

Cheers,
//kracker
<i>Modest Mouse - Lives</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

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 16:17:07
Script start
Timing: Jan 18 2025 16:17:07
Module start 'layout'
Timing: Jan 18 2025 16:17:07
Module start 'content'
Timing: Jan 18 2025 16:17:08
Module end 'content'
Timing: Jan 18 2025 16:17:08
Script end

Main resources:

Total runtime0.7479 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1797152.6406
Module start 'layout' 0.00610.0046 741.820339.4766
Module start 'content' 0.01070.7356 781.2969634.5938
Module end 'content' 0.74630.0014 1,415.890616.1250
Script end 0.7478  1,432.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4446160.0002
Check MTime0.00140.1891160.0001
Mysql Total
Database connection0.00110.142010.0011
Mysqli_queries0.679290.8208680.0100
Looping result0.00060.0824660.0000
Template Total0.715795.720.3578
Template load0.00200.268920.0010
Template processing0.713795.428820.3568
Template load and register function0.00020.024710.0002
states
state_id_array0.00100.127810.0010
state_identifier_array0.00120.162720.0006
Override
Cache load0.00180.2359670.0000
Sytem overhead
Fetch class attribute can translate value0.00080.100830.0003
Fetch class attribute name0.00130.171380.0002
XML
Image XML parsing0.00140.192430.0005
class_abstraction
Instantiating content class attribute0.00000.002290.0000
General
dbfile0.00080.1034240.0000
String conversion0.00000.000840.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
20content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 46
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs