This topic is locked, no new messages can be posted
avatar Mar 1. 2007. 2:01 pm
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?
avatar sajseven Mar 1. 2007. 2:08 pm
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.
activeCollab Team Member (NOT)
avatar Mar 1. 2007. 3:54 pm
Very strange. You've added the new database tables, right?
avatar sajseven Mar 2. 2007. 11:33 am
Yes..
activeCollab Team Member (NOT)
avatar Ryan Cross 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
avatar attiks Mar 3. 2007. 9:57 am
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
avatar attiks Mar 4. 2007. 4:09 am
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 ;-)

avatar attiks Mar 5. 2007. 5:53 am
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?
avatar Ilija Studen Staff 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.
avatar sajseven Mar 5. 2007. 10:04 am
I'm still having the problems with the undefined class. I'm going to try it on another server.
activeCollab Team Member (NOT)

Topic is locked

If you have something important to say about the issues discussed in this post please write at hi@a51dev.com.

or Go To Next Page