Forums / Setup & design / Agenda.....please hepl me

Agenda.....please hepl me

Author Message

M M

Tuesday 18 January 2005 6:22:31 am

Hi all May anyone please help me in creating an agenda that displays the events of each day from the content... also i need to know how the content structure should be

Thanks in advance

Arran Price

Tuesday 18 January 2005 12:19:24 pm

Hi,
Are you using the community supplied agenda template?
If so this will do much of what you want.

If you can confirm this is what you are doing then I can assist with some sample code for a day view template.

cheers

Arran

M M

Monday 24 January 2005 5:30:31 am

Hi

I'm sorry but i don't know what is the the community supplied agenda template

May you please help

Thanks in advance

Arran Price

Monday 24 January 2005 10:15:53 am

A good place to start with an agenda is a very nice one created by Stefano Guandalini. It can be found in the Community/Contrib/Applications section of this site at http://www.ez.no/community/contribs/applications

cheers

Arran

Mark De Quidt

Friday 11 February 2005 3:21:01 pm

I created my first ezPublish yesterday and thought a calendar was standard in this CMS. I d/l agenda.tpl, but where to find information regarding this instructions:

***
- Create a class with two date attributes called 'date_from' and 'date_to'.
- Fill one folder with objects created from this new class.
- Replace the node number of your folder in fetch below.
- Include this template wherever you want in your tamplate.
- Create a new override for results.
- Look for $view_parameters.day,month,year to tune your fetch for results.
***

It appears to me one cannot "start" with an agenda, one has to "develop" an agenda.

Additionally, I also d/l ezCalendar, but this does not show any information, using URL:
http://localhost/ezpublish/index.php/intranet_admin/content/view/admin/calendar/day

I am running ezpublish on my development notebook, XP Home SP2, Apache 2.0.52, PHP 4.3.10, MySQL 3.23.49

www.AtheneumAntwerpen.be
www.OpenLeren.be

M M

Thursday 07 April 2005 7:55:39 am

Hi

Thanks for your help, i did the steps and it works fine except that the date's including the events is not hyperlinked to display its events. i do think that the problem is in the node id that is used in fetching as we are using the node id of the folder containing the events,

"<a href={concat("/content/view/full/__YOUR_NODE_HERE__/day/", $item, "/month/", $month, "/year/", $year)|ezurl}>"

waiting for a solution please

Thanks in advance

Arran Price

Thursday 07 April 2005 1:20:07 pm

Hi,
I dont know specifically whats wrong but if I were debugging it....
Probably the first thing to do, is at the top of your template, do a simple fetch on all items in the appropriate folder and then loop thru and display their names. That will prove the correct node and theres nothing more sinister at play.
From there, take the fetch youve proved worked, and try fetching a specific event (using filter based on day or something) which will probably help determine whats wrong.

that should help in determining whats going on.

Arran

eZ debug

Timing: Jan 18 2025 19:39:40
Script start
Timing: Jan 18 2025 19:39:40
Module start 'content'
Timing: Jan 18 2025 19:39:40
Module end 'content'
Timing: Jan 18 2025 19:39:40
Script end

Main resources:

Total runtime0.1592 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 588.8359180.8438
Module start 'content' 0.00890.0065 769.679797.8672
Module end 'content' 0.01540.1437 867.5469525.7734
Script end 0.1591  1,393.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.8329200.0002
Check MTime0.00171.0511200.0001
Mysql Total
Database connection0.00080.478610.0008
Mysqli_queries0.112670.75231410.0008
Looping result0.00130.81931390.0000
Template Total0.142889.710.1428
Template load0.00100.630010.0010
Template processing0.141889.060810.1418
Override
Cache load0.00070.411910.0007
Sytem overhead
Fetch class attribute can translate value0.00100.643810.0010
XML
Image XML parsing0.00040.228510.0004
General
dbfile0.00201.2532200.0001
String conversion0.00000.007030.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.0002 secs