This is a feature request. Would it be easy to set it up to have different calendars show up in different blocks? That would be really useful.

I guess a work around for this would be to install multiple instances of the module, which would involve going into to the code and renaming the ids...then breaking it...like I did.

Comments

aidanlis’s picture

I can see why this would be useful, but it would be a fairly large restructure of the code ... if enough people want this feature I'll look into it.

aidanlis’s picture

Status: Active » Postponed
vacilando’s picture

+1

justmagicmaria’s picture

Yes, I would find this feature VERY useful.

Kakulash’s picture

I currently have 1/2 of a work-around.

I use CSS Injector to hide the calendar entries I don't want, depending on which page it is.

Why it doesn't work: While the CSS can hide events I don't want to show up on certain pages, the dates will show up no matter what.

Anyone made any progress on this feature?

Branjawn’s picture

This is NEEDED! I can't write code but I can test and will cheer you smart people on!!

I run a website for a church that has 10+ Google Calendars. Would be nice to use this block all over the website instead of on the main page for just the main calendar.

aidanlis’s picture

Sorry everyone, time is precious right now between actual paid work and bugs ... if anyone wants to sponsor the development of this please let me know.

Branjawn’s picture

I would if I could, but I don't get paid :\

aidanlis’s picture

Status: Postponed » Active

I've started work on this! I should have results this week ...

Kakulash’s picture

yaaay.

if anyone else has gotten a lot of use out of this module, throw a few bucks (pounds) to the developer if you're financially comfortable enough to do so.

we take a lot of this stuff for granted.

Branjawn’s picture

If you're ever in North Carolina I'll buy you a beer or four.

aidanlis’s picture

This is 90% done in CVS ... should be done by the end of the day!

aidanlis’s picture

Hi everyone, I've committed the last of the changes, the module now supports multiple blocks!

Please download the development version and test it out.

Cheers,

Branjawn’s picture

getting ready to download! very excited!!!!!!

Branjawn’s picture

Hmmm, I don't see a dev release for download.

aidanlis’s picture

Oops should be there now

Kakulash’s picture

It's not working for me. Here is the error string of errors I am getting:

# user warning: Table 'kakulash_phase2test.agenda' doesn't exist query: SELECT value FROM agenda WHERE bid=0 AND name="title" in /home/kakulash/public_html/phase2-defunked/modules/agenda/agenda.module on line 222.
# user warning: Table 'kakulash_phase2test.agenda' doesn't exist query: SELECT value FROM agenda WHERE bid=0 AND name="start" in /home/kakulash/public_html/phase2-defunked/modules/agenda/agenda.module on line 222.
# user warning: Table 'kakulash_phase2test.agenda' doesn't exist query: SELECT value FROM agenda WHERE bid=0 AND name="end" in /home/kakulash/public_html/phase2-defunked/modules/agenda/agenda.module on line 222.
# user warning: Table 'kakulash_phase2test.agenda' doesn't exist query: SELECT value FROM agenda WHERE bid=0 AND name="datelimit" in /home/kakulash/public_html/phase2-defunked/modules/agenda/agenda.module on line 222.
# user warning: Table 'kakulash_phase2test.agenda' doesn't exist query: SELECT value FROM agenda WHERE bid=0 AND name="maxevents" in /home/kakulash/public_html/phase2-defunked/modules/agenda/agenda.module on line 222.
# user warning: Table 'kakulash_phase2test.agenda' doesn't exist query: SELECT value FROM agenda WHERE bid=0 AND name="dateformat" in /home/kakulash/public_html/phase2-defunked/modules/agenda/agenda.module on line 222.

and so on...

After I create a New Block, nothing happens.

Is it working for anyone else?

aidanlis’s picture

Looks like it's not installing properly. If you remove and uninstall the module, then install it again does it work?

If you look at the .install file, you could recreate the table manually and that should make it work.

I don't have time to fix the install file right now ... but I'll get onto it later this week.

aidanlis’s picture

All fixed, try it now

Branjawn’s picture

OK, got new version installed. Easily got first calendar up and running. Initial problem: events showing on wrong days. So, troubleshooting that right now. Might be error on my end, will keep informed so that anyone else seeing this can easily remedy.

(FYI, events and dates were 100% correct with older version of Agenda, only went haywire after update)

Branjawn’s picture

Cannot get debug page to load. Loads indefinitely. Public cal I'm using is info@fellowshipofchrist.org for those playing at home (and want to try it).

Branjawn’s picture

What is the difference btwn admin/settings/agenda/manage and admin/settings/agenda ?

I'm trying to help and resolve, not complain. Just want to make sure my comments are taken as intended. While waiting on some feedback I'll create some additional calendars.

Main issue still existing though is that events are all of the sudden (after updating module) not exactly on correct dates. My only thought is that somehow it has to do with timezone issues? I'm EST.

for example, 11 AM Sunday service is showing up on Saturday at the end of the week. At the negin of the week (yesterday) the Sat night service is showing up on Sunday.

visit foc4u.org main page to see Agenda calendar I am talking about.

Branjawn’s picture

OK, it seems only Saturday and Sunday events are combined into one day. So for this upcoming Saturday is shows all Sat and Sun events together under "Saturday" and then "Sunday" has Mondays events.

Kakulash’s picture

Yeah I'm getting this error as well.

If this were fixed it would be perfect.

Branjawn’s picture

OK, calendar changing as the day progresses. It's getting REALLY screwed up. Will have to uninstall latest and greatest for now or I'll have a lot of confused folks. :\

Branjawn’s picture

Well, all hell's broken loose. I backed to older Agenda and my site lost all css formatting.

In other news, got some insight into debug not working issue:
socket_send() [<a href='function.socket-send'>function.socket-send</a>]: unable to write to socket [1]: Operation not permitted in /public_html/sites/all/modules/agenda/agenda.admin.php on line 397.

aidanlis’s picture

I'm going to mark this feature request as fixed, and we can try and resolve the time/date problem in the bug report. #545174: Displays Wrong Dates for Events

aidanlis’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.