craigh / postcalendar Goto Github PK
View Code? Open in Web Editor NEWPostCalendar is a calendar module for the Zikula Application Framework
PostCalendar is a calendar module for the Zikula Application Framework
The names of the hooks are not consistent - I think the only problem is in the filter hooks.
Allow Hooked event creator to modify date (like able to modify category). Default behavior would be default to date of hook.
refs: http://community.zikula.org/module-Forum-viewtopic-topic-59286-start-15.htm#pid264614
The sort order is wrong for the upcoming events. In my current listing, it shows a 7:30pm event first then the 4:00pm event second.
Could the events be sorted in the DB query now that the eventStart is a full datetime?
Hi, for some uses it is very interesting to have a year calendar that starts from this month onwards instead of the whole current year.
I will make a seperate ticket about the year view with the option of skipping certain months. I'm using that at the moment in the zk12x PC version. So a year view with the winter months not visible (no camping reservations then :-))
This as a regular view and a Content plugin ;-)
im Template blocks\calendarlinks.tpl is the first line the following;
{checkpermission component="::" instance=".*" level="ACCESS_ADD" assign="ACCESS_ADD"}
I think, as Component shoult PostCalendar be set, like the following line:
{checkpermission component="PostCalendar::" instance=".*" level="ACCESS_ADD" assign="ACCESS_ADD"}
Feature request for the creation hook:
Please make " Create associated PostCalendar event (opt in) " not selected by default or make the behavior customizable.
My Users will often forget to uncheck this option.
Hi,
it would be great if there was also a Content plugin for display of a calendar in month/week/year style with category selection built in. I might even make one myself since I need it.
It would be great if the year view could come with the option of skipping certain months. I'm using that at the moment in the zk12x PC version. So a year view with the winter months not visible.
You can see this here: http://campertoday.nl/camper-huren/beschikbaarheid.html
Where only March until october is shown in the year view (more compact and those months are not interesting).
Categories_mapobj don't have a unique index for obj_id, reg_id, category_id.
I have test with 2400 events since the year 2002 with some duplicate's. This duplicate's are historical bugs.
postcalender_calenderevent_category has the unique index cat_unq and the migration stops.
I have test a little bit with group by in the upgrade script,.
$sqls[] = "INSERT INTO postcalendar_calendarevent_category (entityId, registryId, categoryId) SELECT obj_id, reg_id, category_id FROM categories_mapobj WHERE modname = 'PostCalendar' AND tablename = 'postcalendar_events' group by obj_id, reg_id, category_id";
I think is it a good idea to have some hint for this unique index and the possible problems in the InstallationAndUpgrade.txt
http://community.zikula.org/module-Forum-viewtopic-topic-59286-start-0.htm#pid264413
Secondly the Admin function "Migrate TimeIt" results in an 404 on my site.
Additional information:
Could not load the 'postcalendar' module at 'migrateTimeIt'.
Root category not found.
@espaan - can you please look in to this?
Hi
Several templates contain a permission check:
{checkpermission component="::" instance=".*" level="ACCESS_XX" assign="ACCESS_XX"}
This should be
{checkpermission component="PostCalendar::" instance="::" level="ACCESS_XX" assign="ACCESS_XX"}
Otherwise the permission checks don't work
implement iCalendar. At least export. Import seems less relevant.
Allow for Multi Day events and display in each day.
Tooltips are truncated when using simple quotes in the title or description, e.g. "session d'examen" is displayed "session d". Thanks for your work.
(PC v.8.0.1 - Zk1.3.5)
It would be nice, if I could create an repeating event (f.e. every Thursday at 17:00) but not on holidays (or a sample of special dates).
I would need this for events on a school-calendar, where events appears the same day, but not at holidays.
In my case I am using News with PostCalendar. I have the same category linked to PostCalendar and News. It would be great if the created date would have the same category than the news by default. My users do wonder to select the category twice.
I might be using your hooks interface a lot. A LOT. I need to understand it.
We have a module that tracks data for education, in terms of Schools, who have teachers, who have classes, that has teams, made up of team members. Each of these are entities ( the module is written in MOST), and each will have workflows.
One use case of the calendar is to record when a workflow status would change. For example a Class will have about 6 different workflow statuses. We want the date of each status change to show in a calendar. Seems like using a hook to bind the calendar events to a class entity within the education module will work? It's hard for me to visualize it since I haven't used it yet. I examined what the News hook does and it looks promising, although the data isn't as complex.
TIA for any suggestions.
Using Zikula 1.3.2 (Downloaded from GitHub) with PostCalendar 7.0 (also latest Version in GitHub) doesn't work. All events are only shown in Admin-View, but nowhere in the Calendar, Blocks or List even if they are approved.
I have no Idea, where this issue comes from, but for me it is a blocker.
jQuery now has native tooltip handling. replace TipTip lib with that.
like on blogger. could use for archive or for upcoming events.
Events categories are displayed in the filter even if the user has no access to it "Gp1 | Categories:Category | No access". But events are not shown, which is correct.
zk 1.3.5, PC 8.0.1
Add the ability to attach an image to use instead of a title.
One of our testers from german community had a problem while editing the templates. he doesnt need the sharing functionality, so he cleaned up the templates and removed the sharing option. From now on he hasnt been able to add a new calendar entry.
Or better said, they do not appear in the frontend, since they are added as "private" entries. In configuration "private events" are disabled. So no entires any more.
Is that by design? In general I would say, that its not ideal that templates change the behavior that heavily. I would recommend to have checkmarks in admin frontend.
Use "sharing" equals false which hides the functionality completly (including templates).
I would recommend to do that for Location, Contanct and Fee as well.
What you think?
If needed I can add multiple tickets for that change.
Thanks much
If I click on a Day, marked with an Event in the Calendar Block not a new side opens, but a modal DIV with the full Layout of my side opens.
It looks like, that the method, which set the eventhandler for uppcomming and todaty events also sets an eventhandling for links in the calendar.
Can be seen on http://www.tuningaward.at/index.php on Calendarblock on StartPage
Dates, while formatted according to the selected "order" are not translated.
e.g.
14 March 2012
is displayed when using the German language pack where it should be
14 Mär 2012
I believe the answer lies here:
http://www.php.net/manual/en/class.intldateformatter.php
but will take some work.
Ironically, the jQuery plugin seems to be somewhat localized, so after a date is selected in the datepicker, the field is temporarily displayed correctly, but then reverts to English upon submission of the form.
On changing the date of an event you cant edit the "startdate". Its not possible to set it to the next day for example.
You are forced to edit the "enddate" first. This is somehow not intuitive.
I believe this comes from a sanity check, that startdate is not later than enddate, but in this case, it temporarily is :-(
Perhaps you can change the sanity check a bit that its only triggered once the enddate field looses focus and display a popup message to edit the startdate?
I have see the last fixes for the feature event block.
b21b3b6#src/modules/PostCalendar/lib/PostCalendar/CalendarView/FeaturedEventBlock.php
I think row 74 has a small problem. The result is without sign. If the event is passing we don't get a datedifference less then zero.
$this->event['datedifference'] = $datedifference->format('%a');
Possible solution is
$this->event['datedifference'] = $datedifference->format('%r%a');
http://www.php.net/manual/en/dateinterval.format.php
Best regards
Andreas
see http://www.westernbands.net/calendar/display/viewtype/month/date/20130101
vs ical display on iOS.
add import scripts for other calendar modules so users can migrate from one to the other.
The Date_Calc class upgrade that was included in v7.0.0 of PC changed how some of the calendar was created. This produces wrong calendars.
When browsing the calendar from one month to an other, it would be great to keep the category filter active. Great module, thanks!
If I try to change a date the date picker leads me to "Juni 2018". To go backwards to 2012 is a hard way of clicking ;-)
I've added an event and after clicking save PC took me to month overview. There a green info box appeared stating that the event has been entered correctly.
Unfortunatly this geen box remains on the month view. Even after logging our and back in again. I'm accessing PC via default link {postcalendar}.
How to reproduce:
When clicking "Print" at an event's display view, such as the following URI:
/index.php?module=postcalendar&type=user&func=display&viewtype=event&date=20121126&theme=Printer
This error occurs:
"Fatal error: Call to a member function getOldArray() on a non-object in /modules/PostCalendar/lib/PostCalendar/CalendarView/Event.php on line 55"
allow for exchange of events to and from PostCalendar with Facebook.
Craig, I am trying to thoroughly understand PostCalendar so that I can leverage it for a big site. It seems that the user data is saved 3 different times, in aid, informant, and of course the standard uid fields. What's the difference?
Allow admin to config which views (month, year, week, etc) available with a checkbox style selector in the admin settings.
some items in the new event form are not configurable in the event defaults. please add these.
also would be nice to add the option to 'hide' some of the non-vital options in a new event. This could be accomplished with checkboxes on the event defaults page.
Provide option vCard download for contact
If I edit a news which is hooked to postcalendar it gives me a new entry in postcalendar
copy from Core zikula/core#81 (comment)
Zikula 1.3 with Postcalendar in a german enviroment.
$today_date = DateUtil::getDatetime('', '%Y-%m-%d')
Result = 23.08.2011
expected Result = 2011-08-23
I have a workaround but it is a possible core bug. I'm not sure.
http://support.zikula.de/module-CMS_Support_Forum-viewtopic-topic-30810-start-0.htm#pid145377
Events appear on different date as they are entered.
This is what I observed:
The same applies to the auto created event of installation. So I expect to see this behavior right from the start after installation.
IF I switch on the "trimwhitespace" Filter, the Month-View of the Calendar is not shown, only a blank side is displayed.
I think it will be convenient for users to have a "add event" button also on week view next to the date and also on day view.
Else you always have to leave day/week view, go to month view, search for your day, and click + sign there.
What you think?
I want to use news with hook function to create a date. I my case the news are sometimes an announcement of an upcomming event. The news should be shown weeks before the date so the target date inside PostCalendar is alwas wrong if you are using the current situation.
Today I have to create the related date manualy or edit the automatic produced date.
This function should be configurable in the hook options (switch on/off the edit date function).
I updated to PC 8.0 to try and eliminate this error. I am getting the following error
"WARN (4): e_user_warning: Smarty error: Plugin:pc_sort_events: missing or empty 'value' parameter in Smarty.class.php line 1093"
and since I updated to 8.0, no events show up in the block (which I deleted and recreated). When I try to edit the block, under "Customization" all I can see is a sliver of the first letter of each word and a sliver of each checkbox. When I select "Display search/submit links", it messes up the Theme, splitting up the News Slideshow into 5 individual images and eliminating columns.
I see in PostCalendar admin toolbar "Migrate TimeIt" item. But I never used TimeIt and have nothing to migrate.
Would'nt be better to display this item only when TimeIt is detected or move this link to settings view?
If you tick "View event details in a pop-up window" in admin section, there is not possibilty to edit an event within the popup.
While having this feature turned off, you can see the "edit" link. So it would be cool to have an edit link also within the pop-up window to work more efficiently.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.