Hello 2 all,
I want to integrate my invoice program a bit more into egroupware, but
all information I found on the egroupware.org page seems to be outdated.
Yes, it is.
http://community.egroupware.org/index.php?page_name=wiki&wikipage=ApplicationDevelopmentGuide
In general, your best approach is to find an existing app that does what
you want, and copy part of it.
First, I’d like to use the left navigation bar
Putting a regular menu in the sidebox is fairly easy:
http://community.egroupware.org/index.php?page_name=wiki&wikipage=App-Titles+and+iDots+Sidebox+Menu
N.B that the file name requirement has been removed, just set the hook in
setup.inc.php appropriately.
Getting fancy with an etemplate in the sidebox is a little more difficult
(eg. calendar, mail, projectmanager ), and I would have to carefully go
through one of those apps if I had to do it again.
and the popup messages -
like in “E-Mail send”. Is there a documentation for using this?
“popup messages” is a little vague.
I’m pretty sure the email compose is just a normal popup.
Notifications (eg: “4 entries deleted”) can be done using:
Framework::message(…);
https://svn.stylite.de/egwdoc/nav.html?api/src/Framework/Extra.php.html#message
Second, I’d like to send an email with an attachment from my invoice
program using the mail app of egroupware. Is there a possibility to do
this?
Yes, this is possible.
I believe you will be using api/src/Mailer.php
https://svn.stylite.de/egwdoc/nav.html?api/src/Mailer.php.html
Depending on why you’re sending an email, we also have a whole notification
system that provides more options, and change tracking that can send
notifications when something changes.
Hope that helps,
Nathan