I have updated the planner module for w2p 3.1. It is still experimental/beta - use with care. Company filter must be set to all. >>available here: clone or download zip (right side of webpage): https://github.com/opto/web2project-planner Dayplanner/Weekplanner/Monthplanner/Calendar: * it allows to drag and drop, resize events. Clicking into a timeslot creates a new event. Links in popup allow to view/edit. * tasks can be dragged into the calendar to convert them to events (=todos) for a day. Task date Planning: experimental implementation of interactive gannt for MYTasks. * allows reschedule task by drag or resize. More info: see below. enjoy, Klaus +\n+\n+ Planner/Dayplanner Planner v1.0.3\nKlaus Buecher LICENSE ===================================== The planner module was built by Klaus Buecher and is released here\nunder modified BSD license (see GNU.org). Uses jquery, jqueryui, jsgantt and fullcalendar. Please see their separate licences. No warranty whatsoever is given - use at your own risk. See index.php Copyright (c) 2013 Klaus Buecher (Opto) ===================================== This module is intended to give support for planning purposes. Task date planning (IE, FF etc.)\nThis tab displays an interactive Gantt chart, showing task dates and their % complete. Tasks can be rescheduled by dragging or resizing using mouse interaction. After each edit, they are updated in the w2p database. Dayplanner/Weekplanner/Monthplanner (no IE currently)\nThey allow to edit events by mouse interaction (shift events to other timeslot, resize events).\nAlso, they give a list of the user's currently active tasks, coloured by their status. These tasks can be dragged into the calendar,\nwhere they are converted into events. So one can plan in detail when (and how often) on a day one wants to work on a specific task.\nTooltips give info on tasks and events, click, doubleclick etc allow to easily set progress, open edit, etc. More detailed information: 1) Dayplanner/Weekplanner/Monthplanner.\nIt intends to help to distribute my current tasks into small workloads that I will tackle in my working day. It includes drag and drop support, so some jobs can be done faster than calling and waiting for webpages.\nCurrently tested on Firefox and Google Chrome, does not work (yet?) on IE. Layout/function:\nMiddle display: interactive calendar showing the day's events. Events can be dragged to other time slots, or they can be resized. Click into a time slot creates a new event and stores it to the database (as private event).\nDoubleclick on an event changes the color to green. I use this to indicate that I have actually worked on this issue.\nSo at the end of the day, I can easily see what was not done or at least not started, due to other things coming up.\nA tooltip shows info and description for the event.\nCompany must be set to ALL to display the new events (currently not attached to any company). Left display:\nThis shows a list of my currently active tasks - colored by overdue, in time, not started yet, just as the tasks in the tasks tab are colored.\nThe tasks can be dragged to a timeslot on the calendar and will be converted into private events and stored to the database.\nI usually have more tasks than I can finish in a working day - I use this to decide\nwhich tasks I want to work on today at supposedly which time.\nAfter storing (again as private event), they can be resized or dragged to different times. Tooltips: they allow to view, edit, create task logs, view the parent project, all usng html links.\nHolding shift/click will open a new browser window for this. Changed info is not yet propagated back to the task display. Doubleclick on a task will open a dialog for the % progress. 100% is preset, so to finish a task, doubleclick + enter is sufficient. In addition to the official company projects in w2p, I created a project for private tasks, another for the small\ncompany tasks that need not be expanded to full fledged projects. Adding new tasks: typically, I use project designer to add a bunch of these. Usually, I have two or three projectdesigner\nwindows (for different projects) open to quickly add new tasks when they come up into the appropriate projects, and then pull\nthem into the day_planner window by a refresh F5. 2) Taskplanner\nDrag and drop tasks to other time. The time axis will scroll if the task is scrolled outside the active window.\n(I think this is not functional in the version for w2p 3.1)\nResize tasks: drag the right end to another date.\nCurrently, changes are done by full days only, task times (hours) are left as is. More to come: Interactive display of project gantt.\nMore edit capabilities in gantt. Interactive gantt view of full projects Convert (Thunderbird) emails into w2p tasks. etc. Some bugs, clipped tooltips, etc., but it is usable and helps me to plan since a few weeks, and didn't destroy\nanything inside my database (yet?). No warranty given in any case.\nDon't look at the code, it is a mess. I tested this on my notebook with a local wampserver. Response times are fine, for display and also for posting to the database. SAFETY: Beware: creating new events, the title is stored as is - I didn't check yet whether w2p checks elsewhere for bad html, sql\ninjection etc. I don't enter that on my own server, but this potential safety flaw makes the module still beta. Nevertheless, for me, it is usable. Enjoy.\nInstallation: just as any custom module. See the w2p wiki. Unzip, put to w2p modules directory, in system admin, go to modules, install, activate and un-hide.\nAt the moment, day planner is the submodule to be displayed upon calling planner. All other links are still (nearly) unmodified calendar module scripts. Klaus

asked 04 Feb '14, 08:30

opto's gravatar image

opto ♦
83344110132
accept rate: 10%

edited 04 Feb '14, 09:16


Installed it, but can't find where to use it... I get the \"planner\" menu link, but all I get when clicking on it is an unformatted readme of the module and that's it. Any idea what could be causing that? FF web-console is just showing a 500 internal server error on the index.php in the web2project root directory when I click on the \"planner\" link.
permanent link

answered 04 Feb '14, 09:26

Julius's gravatar image

Julius
7381521
accept rate: 0%

edited 05 Feb '14, 01:23

that may be a permission Thing.ntry to grant all rights to you for planner

(04 Feb '14, 09:58) opto ♦ opto's gravatar image

please try again (new download)

(05 Feb '14, 06:52) opto ♦ opto's gravatar image

Sorry, still more or less the same error. Now it doesn't even show the readme anymore but just a blank area under the normal menu bar.

(05 Feb '14, 09:27) Julius Julius's gravatar image

what I uploaded works in FF. Will check tomorrow what happens with what I download. Should be the same, but ...

(05 Feb '14, 13:21) opto ♦ opto's gravatar image
I installed it on 3.1, but I can't get any content on the planner page.\nBy enabling errors, I can get the following message on the page : Warning: require_once(/var/www/web2project/lib/PEAR/Date/calc.php): failed to open stream: No such file or directory in /var/www/web2project/includes/main_functions.php on line 84 Fatal error: require_once(): Failed opening required '/var/www/web2project/lib/PEAR/Date/calc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web2project/includes/main_functions.php on line 84
permanent link

answered 06 Feb '14, 04:08

mcandell's gravatar image

mcandell
1368
accept rate: 0%

answered 06 Feb '14, 04:08

thanks for the message.nKeith did tons of changes, shifted deprecated functions into other files, etc ....nMaybe it is caused by this? Maybe pear date functions need to be enabled inwebserver's php?nI am not aware that I used any date functions outside of the w2p core, I am on a version from git which is ahead of 3.1 (3.2pre), about 10 days old. I think this is definitely different from 3.1 concerning deprecated functions.

(06 Feb '14, 04:48) opto ♦ opto's gravatar image
I did a fresh install from todays w2p git: https://github.com/web2project/web2project then I upgraded calendar in the module view\nthen I loaded planner from https://github.com/opto/web2project-planner\ninstalled planner in module view everything works (locally, under wampserver) Klaus e.g. goto dayplanner doubleclick at 9am enter title for event for doublechecjk, goto day event (the old view): there it is. Klaus
permanent link

answered 06 Feb '14, 11:52

opto's gravatar image

opto ♦
83344110132
accept rate: 10%

answered 06 Feb '14, 11:52

Tried the same now on our shared host, and it still gives the same error. Maybe your plugin needs a certain php version (the one I have is: 5.3.28) or some extension that is not necessarily enabled?

(06 Feb '14, 22:28) Julius Julius's gravatar image

you could try wampserver or xampp on a local PC? I also use php 5.3.??, so it is an older version of wampserver.nAlso runs on bitnami wampstack with 5.3.?? reloading w2p: it actually is a clone of the calendar module, just with some extra tabs. The main code is unchanged against calendar / now events as of fall last year. Klaus

(07 Feb '14, 00:00) opto ♦ opto's gravatar image

does calendar work at your end? did you upgrade the calendar module?

(07 Feb '14, 00:01) opto ♦ opto's gravatar image

above, it compains that calc.php is not present and gives the path it searches. can you see the file there?nFailed opening required '/var/www/web2project/lib/PEAR/Date/calc.php' This path looks strange with the colon in it: php:ninclude_path='.:/usr/share/php:/usr/share/pear'

(07 Feb '14, 00:06) opto ♦ opto's gravatar image

Yes, php is case sensitive for variable and file names. Change the call not the file as other code may be looking for Calc.php. Cheers, Sasquatch

(07 Feb '14, 14:00) sasquatch58 sasquatch58's gravatar image

as te easiest methods, I would copy Calc.php to calc.php (so you have both files) and see whether that helps. No code change necessary. Klaus

(12 Feb '14, 10:32) opto ♦ opto's gravatar image
showing 5 of 6 show 1 more comments
It seems that between writing main planner for w2p 2.x, the class Date_calc was renamed to Date_Calc. That is the current classname in events, whereas I copied the other class name a few month ago from then calendar = now events. As a consequence the autoloader tried to load a file that does not exist. I have updated github. Hopefully this now works on linux. Klaus
permanent link

answered 12 Feb '14, 10:48

opto's gravatar image

opto ♦
83344110132
accept rate: 10%

answered 12 Feb '14, 10:48

Are you sure you uploded it? your github account still says that the last modification was 8 days ago.

(12 Feb '14, 19:13) Julius Julius's gravatar image
re-done. Klaus
permanent link

answered 12 Feb '14, 22:17

opto's gravatar image

opto ♦
83344110132
accept rate: 10%

answered 12 Feb '14, 22:17

Seems to work now, and very promising functionality! Should probably be integrated fully into web2project core. P.S.: In certain themes (snowball etc.) the calender is a bit difficult to see on the back-ground.

(12 Feb '14, 22:57) Julius Julius's gravatar image
I have uploaded again. Hope it is ok now. I verified, now it is there (1.0.6). Klaus
permanent link

answered 13 Feb '14, 00:41

opto's gravatar image

opto ♦
83344110132
accept rate: 10%

answered 13 Feb '14, 00:41

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×47
×16
×8
×2
×1

question asked: 04 Feb '14, 08:30

question was seen: 1,367 times

last updated: 13 Feb '14, 00:41

powered by Bitnami OSQA