Login or Register

RSS IconRecent posts in this topic

avatar
btwong on May 2. 2008. 11:17 am
I am wanting to add a new project feature called "Challenges". It will act the same way as the "Groups" setup, but for the life of me, i cannot add this feature.

I have gone right through the whole site and duplicated anything that had "Group" or "Groups", and made them "Challenge" "challenges" etc, i added the new table into the database, a new field into the acx_projects table "challenge_id", but i cannot for the life of me, get it to work correctly.

It doesn't seem to be picking up the module controller class (which i duplicated from groups). I have tripled checked all my work to make sure no spelling mistakes and everything. The only thing i will be using this new feature for is that when a new project is added, it can set a new "challenge".

Any ideaas on how to get the all my new files called correctly in aC?

any help will be apprieciated.
avatar
Ilija Studen on May 2. 2008. 1:56 pm
Simple replication of other feature without understanding how everything fits together usually will not result in working code. Still, do you receive any error? Or?
activeCollab team member
avatar
btwong on May 3. 2008. 3:31 am
yes the reply i am getting is:

Fatal error: Class 'ProjectChallenges' not found in /var/www/collaborativechallenge/activecollab/application/modules/system/models/projects/Project.class.php on line 123

all i want to know is how to include new files - actually include the exact same files as the 'group' system, but have been replicated and called 'challenge'. I am a programmer, but just cannot find where the code does that...
avatar
btwong on May 3. 2008. 3:49 am
found it. all sorted.

thanks anyway.

RSS IconRecent posts in this topic