Page 1 of 1

email module Email.php empty?

PostPosted: Wed Apr 18, 2012 3:38 am
by Martin Pruss
Hi Steve... Hi Xataface Users

I could not get the email module to work .. no matter what i tried..
When exploring the code of the module (downloaded today) in the modules folder, i noticed that Email.php is empty (0 kbyte)
Is this empty on purpose or accidently?

Cheers
Martin

Re: email module Email.php empty?

PostPosted: Wed Apr 18, 2012 1:08 pm
by shannah
What version of Xataface are you using?

The Email module (version 0.1.x) does not include anything in the Email.php file. It is just a placeholder. The newer versions 0.2.x and 0.3.x (which only work with Xataface 2.0 or higher unfortunately) are virtually complete rewrites and do include content in these files.

The latest email module SVN can be viewed at http://weblite.ca/svn/dataface/modules/Email/trunk
Documentation at http://xataface.com/dox/modules/Email/latest

Version 0.1.x requires you to set up a cron job to handle the actual sending of the email. The newer versions don't require this (email is sent directly in the web server process). The newer version (0.3.x) also includes many other features such as templates, improved mail-merge, file attachments, and better support for Mime HTML emails.

I know this is sort of like dangling candy that you can't have because 2.0 isn't released yet... but it's coming.

-Steve

Re: email module Email.php empty?

PostPosted: Wed Apr 18, 2012 2:43 pm
by Martin Pruss
Thanks for your fast reply...
Currently i am running XF # 1.3rc6
Well, actually I don't mind setting up a cronjob ...
the old documentation in the wiki for this module says it's sort of working right out of the box, besides some minor tweaks.
unfortunately not even the email icon shows up ...
Is there a way to call this action via the query string?

I guess it will take a while till the release of XF 2.0 .. in the meantime ill try my luck on the current version
and post my progress here
cheers
Martin

Re: email module Email.php empty?

PostPosted: Wed Apr 18, 2012 3:22 pm
by shannah
If the email icon isn't showing up you should look into the email action. You need to override this action in your actions.ini file to ensure that it appears for the correct table(s). There should be an example on the documentation page of how to do this.

Re: email module Email.php empty?

PostPosted: Thu Apr 19, 2012 12:39 am
by Martin Pruss
Hi Steve ..
I followed the instructions in the wiki ..step by step and double checked that i do not forget something
the email icon does not show up..
adding: "index.php?-action=email" to the query string takes me to the email form.
adding a custom link with this query seems to be simpler to me than searching for the reason that he icon refuses to show :wink:
cheers
Martin