email module Email.php empty?

A place for users and developers of the Xataface to discuss and receive support.

email module Email.php empty?

Postby Martin Pruss » Wed Apr 18, 2012 3:38 am

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
Martin Pruss
 
Posts: 61
Joined: Tue Oct 23, 2007 2:22 pm
Location: Berlin

Re: email module Email.php empty?

Postby shannah » Wed Apr 18, 2012 1:08 pm

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: email module Email.php empty?

Postby Martin Pruss » Wed Apr 18, 2012 2:43 pm

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
Martin Pruss
 
Posts: 61
Joined: Tue Oct 23, 2007 2:22 pm
Location: Berlin

Re: email module Email.php empty?

Postby shannah » Wed Apr 18, 2012 3:22 pm

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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: email module Email.php empty?

Postby Martin Pruss » Thu Apr 19, 2012 12:39 am

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
Martin Pruss
 
Posts: 61
Joined: Tue Oct 23, 2007 2:22 pm
Location: Berlin


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 17 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved