Forums / Developer / [ptagenda] discussions about ptagenda extension

[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/

eZ debug

Timing: Jan 18 2025 15:01:25
Script start
Timing: Jan 18 2025 15:01:25
Module start 'content'
Timing: Jan 18 2025 15:01:25
Module end 'content'
Timing: Jan 18 2025 15:01:25
Script end

Main resources:

Total runtime0.1793 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.8438180.8125
Module start 'content' 0.00630.0058 768.6563102.0547
Module end 'content' 0.01210.1671 870.7109531.3750
Script end 0.1792  1,402.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.5008200.0002
Check MTime0.00150.8639200.0001
Mysql Total
Database connection0.00090.487510.0009
Mysqli_queries0.131473.30911410.0009
Looping result0.00120.66521390.0000
Template Total0.165992.510.1659
Template load0.00120.651010.0012
Template processing0.164791.854010.1647
Override
Cache load0.00080.449010.0008
Sytem overhead
Fetch class attribute can translate value0.00080.435010.0008
XML
Image XML parsing0.00020.139010.0002
General
dbfile0.00573.1524200.0003
String conversion0.00000.004030.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs