Sajseven,
I don't really have enough info to determine why you're getting that error. It looks like your /application/models/Project.class.php hasn't been updated. It should contain a function called getTimes(). Does it?
I don't really have enough info to determine why you're getting that error. It looks like your /application/models/Project.class.php hasn't been updated. It should contain a function called getTimes(). Does it?
Yes it does. I've even checked it and replaced it a second time. What do you think might be the problem?
BTW... when I get that error, it's just a blank, white screen with the error text. I only get the error since I turned on the error reporting mode in my CONFIG file.
BTW... when I get that error, it's just a blank, white screen with the error text. I only get the error since I turned on the error reporting mode in my CONFIG file.
activeCollab Team Member (NOT)
Ryan Cross
on Mar 3. 2007. 2:36 am
hey tyler,
i wanted to ask you a question but didn't know how to contact you. Do you have an email address or contact form i could use? EDIT: Nevermind, I found it.
-Ryan
i wanted to ask you a question but didn't know how to contact you. Do you have an email address or contact form i could use? EDIT: Nevermind, I found it.
-Ryan
I just installed this version, i ran into one problem with short tags (views\time\index.php - line 62) but after changing it everuthing was OK, thanks.
I checked SVN, but couldn't find any reporting stuff for the times, is anybody working on this, if not i'm willing to give it a try.
Functionality i'm looking for:
- entry billed: yes/no and/or reference number
- monthly report (and/or by user/title)
- Any other ideas?
Peter
I checked SVN, but couldn't find any reporting stuff for the times, is anybody working on this, if not i'm willing to give it a try.
Functionality i'm looking for:
- entry billed: yes/no and/or reference number
- monthly report (and/or by user/title)
- Any other ideas?
Peter
Just a follow-up, i added paging to the time view:
* changed TimeController.class.php
// tpl_assign('times', $project->getTimes());
$page = (integer) array_var($_GET, 'page', 1);
if($page < 0) $page = 1;
$conditions = array('`project_id` = ?', active_project()->getId());
list($times, $pagination) = ProjectTimes::paginate(
array(
'conditions' => $conditions,
'order' => '`created_on` DESC'
),
config_option('messages_per_page', 10),
$page
); // paginate
tpl_assign('times', $times);
tpl_assign('times_pagination', $pagination);
* changed views\time\index.php
<div id="timesPaginationTop"><?php echo advanced_pagination($times_pagination, get_url('time', 'index', array('page' => '#PAGE#'))) ?></div>
BTW: I love the framework ;-)
* changed TimeController.class.php
// tpl_assign('times', $project->getTimes());
$page = (integer) array_var($_GET, 'page', 1);
if($page < 0) $page = 1;
$conditions = array('`project_id` = ?', active_project()->getId());
list($times, $pagination) = ProjectTimes::paginate(
array(
'conditions' => $conditions,
'order' => '`created_on` DESC'
),
config_option('messages_per_page', 10),
$page
); // paginate
tpl_assign('times', $times);
tpl_assign('times_pagination', $pagination);
* changed views\time\index.php
<div id="timesPaginationTop"><?php echo advanced_pagination($times_pagination, get_url('time', 'index', array('page' => '#PAGE#'))) ?></div>
BTW: I love the framework ;-)
Another follow-up
1/ I changed the time entry form so I can reference tasklist and/or task
2/ I added a first basic report to display all times by tasklist / task
Ilija, how can I contribute to code to the SVN?
Question: anybody wants some more time-related stuff?
1/ I changed the time entry form so I can reference tasklist and/or task
2/ I added a first basic report to display all times by tasklist / task
Ilija, how can I contribute to code to the SVN?
Question: anybody wants some more time-related stuff?
Ilija Studen
on Mar 5. 2007. 6:39 am
Drop me a line at ilija.studen@gmail.com and I'll create you an account so you can submit changes to TT branch.
activeCollab team member



