MarkOs:Note to Ilja - I found the smarty truncate function really useful in building this so that I could truncate ticket and category titles to a certain length and make everything fit better. Is it possible to include this modifier in future AC updates as part of Angie?
**ZIP with edited files is attached to the second post**
Hi,
I have a client using Activecollab and they've very kindly let me trial it with them for my own stuff providing I help them out with a few minor tweaks and changes. We've just done some work on the tickets page which addresses some requests i've seen a few people have mentioned on the forums so i'm here letting you know about them and actually use them yourselves if you wish :)
ACTIVECOLLAB TICKET VIEW CHANGES v2.1 for AC 1.1.4
This update is a series of hacks to the AC core code which achieve the following:
- View ticket category on tickets page (inline) - thanks ilja and ncrossland for the heads up there - http://www.activecollab.com/forums/topic/3088/
- View ticket due date where due dates are assigned (inline)
- View ticket full details from the tickets page (javascript show/hide)
- Add time against tickets from the tickets page
- Add time estimate against tickets from the tickets page (simple time budgeting solution)
TO INSTALL:
Extract ZIP to your desktop. They should extract to a folder called 1.1.4.
Upload the 2 folders contained inside (and their contents) to the root of your activecollab installation directory. There are various files included, some are modifications to existing AC files and some are new. They are all put into the appropriate directory structure inside the zip so that they replace the right files in your installation.
Files included are:
index.tpl - _activecollab_root/activecollab/application/modules/tickets/views/tickets (replace)
_ticket_form.tpl - _activecollab_root/activecollab/application/modules/tickets/views/tickets (replace)
view.tpl - _activecollab_root/activecollab/application/modules/tickets/views/tickets (replace)
Ticket.class.php - _activecollab_root/activecollab/application/modules/tickets/models/tickets (replace)
TicketsController.class.php - _activecollab_root/activecollab/application/modules/tickets/controllers (replace)
main.js - _activecollab_root/public/assets/modules/tickets/javascript (new file - also need to create "javascript" directory)
down.gif - _activecollab_root/public/assets/modules/tickets/images (new file)
NOTE:
-These are core 'hacks' and so considerably modify the core code of some Activecollab files. If you upgrade Activecollab at any stage the modifications will need to be made again to the new files.
-These are hacks to the Activecollab v1.1.4 code base. They will work with 1.1.3 ONLY.
-These modifications are still a bit rough at the moment. Lots of code copied from elsewhere and modified to suit our needs, so lots of commented out lines and general rubbish that we will clean up later. Releasing these is not just a nice thing for us to do but also will help us bug fix if required as people notice mistakes etc...
-We are not providing support for these and will not guarantee that we will make changes to new versions of Activecollab that quickly. If you choose to upgrade your AC as upgrades are released, expect to wait a month or 2 for us to move these upgrades to that version.
That's it I think. Any problems or suggestions please post in this thread.
Many thanks to Ilja and the team for this great software :)
Mark