Login or Register

RSS IconRecent posts in this topic

avatar Staff
Ilija Studen on Nov 14. 2006. 7:55 am
Added message and comments are passed to the template so you can read their content. New message can be accessed with $new_message var, new comment with $new_comment. In both cases accessor method is getText().
activeCollab team member | LinkedIn
avatar
katjacobs on Nov 23. 2006. 4:29 am
This is definitely a feature that I'm interested in. Reading the message content in my email allows me to determine if it is something that I need to respond to immediately. If it isn't, I certainly save time by not having to log in. I also like that I have an offline copy of messages.

Pardon my ignorance, but I don't suppose anyone could translate Ilija's reply and point me to the line number and exact code I could add to allow the message text to be sent along with the notification email. I'm afraid my PHP knowledge is limited to "Find and Replace."

Thanks!
avatar Staff
Ilija Studen on Nov 23. 2006. 9:35 am
Translated:

You can print content of message in /application/notifier/new_message.php by putting:

<?php echo $new_message->getText() ?>


where you want.

Same thing for comments, except template name is new_comment.php and code is:

<?php echo $new_comment->getText() ?>
activeCollab team member | LinkedIn
avatar
Rolando on Nov 23. 2006. 9:46 am
I don't get the status of that info - will this feature be included in "core aC" or not? +1 for inclusion.
avatar Staff
Ilija Studen on Nov 23. 2006. 10:07 am
Rolando:
I don't get the status of that info - will this feature be included in "core aC" or not? +1 for inclusion.


Its just a hack for now, nothing more. Need it? There's how to add it.
activeCollab team member | LinkedIn
avatar
Rolando on Nov 23. 2006. 1:05 pm
Oh, I got the idea but I think this feature is important enough to add it to "core" anytime later. In a later version (after 1.0?) we should review the screens and try to streamline the flow. The eMail messages surely will be a part of it (not just the forms).

IMO these little changes like the proposed one can improve the user experience and does not hurt (hey, we all are lazy dogs sometimes). Also, we should prevent/discourage the users from hacking their local installation which will break when upgrading to a newer version.

If it is decided that a feature should not be included in core there is still the possibility to write a plug-in or to help yourself differently. What we should avoid is to alienate users/potential project contributers by beeing repallant without explanation - this could be seen as arrogant.
avatar
geoffrey on Nov 23. 2006. 2:06 pm
That path is: /application/views/notifier/new_message.php

and /application/views/notifier/new_comment.php

Thanks for that Ilija, works great!

While I was at it added to /application/views/notifier/milestone_assigned.php


<?php echo $milestone->getDescription() ?>



avatar Staff
Ilija Studen on Nov 23. 2006. 3:48 pm
geoffrey:
That path is: /application/views/notifier/new_message.php


Yeah, sorry about that.

Rolando:
If it is decided that a feature should not be included in core there is still the possibility to write a plug-in or to help yourself differently. What we should avoid is to alienate users/potential project contributers by beeing repallant without explanation - this could be seen as arrogant.


I provided an explanation why this was excluded in the start - it may confuse users to reply to that email. That emails are notifications for now, does not have any function in collaboration. To make them work we should catch the reply and post it as a reply and that requires support for email input, spam filtering etc.
activeCollab team member | LinkedIn
avatar
katjacobs on Nov 24. 2006. 2:28 pm
Works perfectly. Thanks so much. This is such a great project. I have a bit more testing to do, but I think I'm about to make the transition from Basecamp. It's really quite impressive that you've been able to come up with a product that competes so well with such a well known and well received system as Basecamp. Good job Ilija.
avatar
jlynshue on Dec 12. 2006. 5:26 pm
>> This is exactly what I am after at the moment, is there an easy way to modify the new_message.php >> and new_comment.php files to enable this functionality as FireBox suggested??


Where can I find these files? new_comment.php, new_message.php

RSS IconRecent posts in this topic