Foren / Cotonti / Extensions / [Plugin] Calendar for lists

tensh
#1 9. September 2012, 17:44

It's a modified plugin by Seditio.by, ported additionally to Siena.

It displays a calendar in page lists, in which are shown pages created in given date in this category and its subcategories. It also contains a bigger calendar. 
Quite useful in blog setups.

Check tpl folder for additional css. Hope you like it.

http://www.cotonti.com/datas/users/calendar_253.zip

Kingsley
#2 9. September 2012, 19:26

works like a charm :) thx

tensh
#3 9. September 2012, 22:59

No problem :) Glad you like it.

elfrenazo
#4 10. September 2012, 01:27

Curiously this calendar. I like, thanks.

pieter
#5 10. September 2012, 06:22

If I go back in time in de standalone page, I get: 

Fatal error: Call to undefined function cot_generate_pagetags() in /home/k3098kru/public_html/plugins/calendar/calendar.php on line 146

... can we help you ...
Trustmaster
#6 10. September 2012, 10:20

This line is missing:

require_once cot_incfile('page', 'module');

 

May the Source be with you!
pieter
#7 10. September 2012, 10:57

Thx, this solved one error.

Next problem:
The links next to the arrows are ok.

The links for the months are wrong: they are: http://www.site.be/site/calendar.php&cat=kinderen&year=2012&month=1
This should be something like index.php?e=calendar&cat=kinderen&year=2012&month=1
I geuss it is using rewrite links. I don't use rewrites

Added 4 minutes later:

I replaced in both tpl:

site/calendar.php
with
index.php?e=calendar

Now it is ok

... can we help you ...
tensh
#8 10. September 2012, 17:19

yeah, sorry about that, didn't notice I hardcoded the url. I also didn't notice I didn't include that page module file. I was converting this plugin kind of in a rush, had little time. :) I'll fix this package tomorrow.

I have another version that takes into account page_begin and page_expire. Anybody wants it? :)