Git Product home page Git Product logo

postcalendar's People

Contributors

ansch avatar cmfcmf avatar craigh avatar espaan avatar evert avatar groessing-net avatar jusuff avatar lasker avatar rmburkhead avatar tebbenhof avatar zikulabot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

postcalendar's Issues

[PC8] Display Migrate TimeIt only when TimeIt detected

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?

PostCalendar shows no events

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.

removing "sharing" options from template, breaks publishing of events

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

Request for a year view starting from this month onwards

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 ;-)

Designing Hooks

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.

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '28-10006-1' for key 'cat_unq'

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

Smarty Error In PostCalendar Block, No Events Showing

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.

[PC8] Year view displays events at a wrong point in time

Events appear on different date as they are entered.
This is what I observed:

  • installed postcalendar
  • entered 3 test events for the next day (18th nov 2012)
  • went to "year view"
  • the 3 events are not displayed at the day they should appear
  • the 3 events show up 9 months earlier (18th jan 2012)

The same applies to the auto created event of installation. So I expect to see this behavior right from the start after installation.

[PC8] Add "edit event" link when displaying info in pop-up window

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

Several templates contain part wrong permission check

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

PC8 - No Hidden PostCalendar Featured Event Block

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

Hook names inconsistent

The names of the hooks are not consistent - I think the only problem is in the filter hooks.

take over the category of the hooked module

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.

[PC8] green info box "added event" keeps displaying too long

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:

  • klick on + in month vew
  • add event
  • green info box appears
  • click on week view to see the whole week (no info box shown)
  • click on month view (green onfo box still visible even the event add was few actions back)
  • log out
  • log in again
  • click menu link which is {postcalendar}
  • green info box still there

[PC8] Add "add event" button on week and day view

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?

date field width

In the new event for the date fields need to be set via javascript or simply wider.
dateinput

Category filter permission

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

[PC8] Sort order not correct in block

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?

Fatal error: Call to a member function getOldArray()

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"

Author vs. Informant

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?

Enhancement of repeating events

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.

[PC8] Useability issue on changing the date of an event

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?

Tooltips truncated

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)

Template calendarlinks Module missing in checkpermission

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"}

Display of DateTime objects are always in English

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.

make the date of a hook event editable

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.