Feng Office

Welcome, Guest. Please login or register.
Did you miss your activation email?

+  Feng Forum
|-+  Other Topics
| |-+  Ideas
| | |-+  Timeline Display for Workspaces
« previous next »
Pages: [1] Print
Author Topic: Timeline Display for Workspaces  (Read 3645 times)
pmaxx
Freshman
*
Posts: 23


View Profile Email
« on: April 20, 2009, 12:50:52 AM »

Greetings!

There is an open source, BSD license code here:
http://www.simile-widgets.org/timeline/
 It is described as a "DHTML/AJAX Web Widget for Visualizing Temporal Data" This thing displays a scrollable timeline.  It's a great way to visualize events over a timeline.

It is comprehensive enough to display all objects and actions in a workspace, including document add, checkout & checkin and the duration of the checkout, if it is long enough to display as more then a point in the timeline.   You could even display user access changes (probably only want to display those to administrators).

This would provide a time based overview of workspaces.  Could be pretty useful!

- Paul
Logged
Pet
Global Moderator
Hero Member
*****
Posts: 637


Always mining for solutions!


View Profile WWW
« Reply #1 on: April 20, 2009, 03:44:47 AM »

wow that is very slick
Logged

Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?
andy.hoyle
Newbie
*
Posts: 30


View Profile
« Reply #2 on: April 20, 2009, 09:36:36 AM »

Yes please!!!!
Logged
conrado
Administrator
Hero Member
*****
Posts: 902


Conrado


View Profile WWW Email
« Reply #3 on: April 20, 2009, 03:25:08 PM »

Very interesting Paul. Thanks!  Smiley
Logged

Support Feng Office. Access our tech team. Sign up to a Feng Sky Plan here
max
Jr. Member
**
Posts: 87


View Profile
« Reply #4 on: April 20, 2009, 06:55:04 PM »

It's beautiful & it would be a perfect addition for the (somewhat too basic) calendar module. is the BSD license compatible with OGOOs GPL??

The beginners guide seems like it's almost trivial to use. Some Javascript and a straightforward JSON record format. EventSources

One of the strengths is the ability to link multiple timelines to run in parallel.
So… the calendars of multiple workspaces could be aligned in a stack.and scroll in unison. With an overview in a zoomed-out scale. Fab-u-lous!

Pretty please dear developers, could you hint me on where to hack into the calendar module to insert a custom view???
Logged
ignacio
Administrator
Hero Member
*****
Posts: 1703


View Profile
« Reply #5 on: April 21, 2009, 05:56:28 PM »

It looks realy nice!

The BSD license is compatible with GPL, so no problem there.

Alvaro will soon tell you how to add a new view for the calendar.

Cheers.
Logged

alvarotm01
Administrator
Sr. Member
*****
Posts: 328


View Profile Email
« Reply #6 on: April 22, 2009, 10:42:12 AM »

Hi,

In order to add a new view for the calendar you have to:

1) Add a button in the calendar toolbar (public/assets/javascript/og/CalendarToolbar.js)
    i) On line 56, add a new object to topToolbarItems like this one:
Code:
    timeline: new Ext.Action({
        text: lang('timeline'),
        tooltip: lang('timeline'),
        iconCls: 'ico-timeline',
        handler: function() {
            cal_actual_view = 'timeline';
            var date = calToolbarDateMenu.picker.getValue();
            changeView(cal_actual_view, date.getDate(), date.getMonth() + 1, date.getFullYear(), actual_user_filter, actual_status_filter);
        }
    }),
    ii) After line 293, add after the entry for view_date:
Code:
    this.add(topToolbarItems.view_date);
2) Add an action timeline() to the EventController (application/controllers/EventController.class.php)
3) Add a view for the timeline (application/views/event/timeline.php)
To include the toolbar in the view you have to define a <div> like this
<div id="calendarPanelTopToolbar" class="x-panel-tbar" style="width:100%;height:30px;display:block;background-color:#F0F0F0;"></div>
and then this javascript code:
var ogCalTT = new og.CalendarTopToolbar({
   usersHfId:'hfUsers',
   companiesHfId:'hfCompanies',
   renderTo:'calendarPanelTopToolbar'
});

also need to include js files:
require_javascript('og/tasks/TasksTopToolbar.js');
require_javascript('og/CalendarToolbar.js');
require_javascript('og/CalendarFunctions.js');
require_javascript('og/EventPopUp.js');

and set values for variables (like it's done in viewweek): user_filter, status_filter, year, month, day and ogCalendarUserPreferences.

If you have any questions don't hesitate to ask,
greetings
Logged
max
Jr. Member
**
Posts: 87


View Profile
« Reply #7 on: April 22, 2009, 11:14:29 AM »

love your micro-tutorials.
will see into it one of the next days
Logged
ras2000
Newbie
*
Posts: 29



View Profile WWW
« Reply #8 on: April 24, 2009, 10:24:17 AM »

I fell across this question while searching for help on adding an icon to the top toolbar in tasks.

I'd like to make it possible to assign several tasks to one user, complete and uncomplete multiple tasks, and a few other things.

I tried doing the things mentioned here in TasksTopToolbar, but I keep getting the error "og.taskstoolbar is not a constructor".

What am I doing wrong?
Logged

If you are what you eat, then I'm fast, cheap and easy.
ignacio
Administrator
Hero Member
*****
Posts: 1703


View Profile
« Reply #9 on: April 24, 2009, 01:55:17 PM »

Have you added the required javascritps, like this:
Code:
require_javascript('og/tasks/TasksTopToolbar.js');
?
Logged

ras2000
Newbie
*
Posts: 29



View Profile WWW
« Reply #10 on: May 07, 2009, 06:15:41 AM »

That was it. Thanks!
Logged

If you are what you eat, then I'm fast, cheap and easy.
cguyer
Newbie
*
Posts: 33


colby_guyer@hotmail.com excag18 excag03
View Profile WWW Email
« Reply #11 on: May 14, 2009, 03:24:16 PM »

looks way cool
Logged
andy.hoyle
Newbie
*
Posts: 30


View Profile
« Reply #12 on: May 22, 2009, 09:40:53 AM »

alvarotm01 could you explain step 2?
Logged
max
Jr. Member
**
Posts: 87


View Profile
« Reply #13 on: August 02, 2009, 06:56:04 AM »

gooroos,
I have to admit that I'll never ever find the time to integrate this feature myself.

But could you imagine doing it? Would it make sense in your invisible roadmap? Would you accept it as a job request?

max
Logged
conrado
Administrator
Hero Member
*****
Posts: 902


Conrado


View Profile WWW Email
« Reply #14 on: August 04, 2009, 10:12:09 AM »

...your invisible roadmap...

Ha!  Grin We don't want to make it invisible. We just can't seem to stabilize it/agree/find time to write it down.
Logged

Support Feng Office. Access our tech team. Sign up to a Feng Sky Plan here
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length