Closed (fixed)
Project:
Email Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2008 at 00:28 UTC
Updated:
11 Jun 2008 at 05:26 UTC
Jump to comment: Most recent file
Comments
Comment #1
vm commentedThis is a CCK addon module as such I'd venture the guess that the developer of this module is waiting for CCK to stabalize on D6.
Comment #2
mh86 commentedthis module is going to be ported soon. modules used by the email field like the invisimail module aren't ported yet, but this still has time...
Comment #3
klausiHi,
I'm relatively new to drupal development and took a look over the module and tried to port it to 6.x. It does not work properly yet, but the major changes should be implemented (according to the example text.module, which was my reference).
Here are my changes in patch form, maybe someone can have look at it and give me some advice or improve it :-)
EDIT: See the new version of the patch below.
Comment #4
mh86 commentedhi!
thanks for your work! I take a closer look at it as soon as possible :)
Comment #5
klausiI did some further development on the port to drupal 6:
1) all API and hook changes should now be implemented
2) invisimail was replaced by spamspan for obfuscating addresses in the HTML code
3) the contact form option does not work yet (it didn't work for me in drupal 5 neither)
Here are the changes again as patch.
EDIT: See the new version of the patch below.
Comment #6
jpetso commentedStatus update: active -> patch (code needs review).
Comment #7
jpetso commentedCleaner patch, and applying to the more recent DRUPAL-5 branch (the one above applied to HEAD, which hasn't seen some updates that were applied to DRUPAL-5).
Comment #8
jpetso commentedNew version, this time with working contact form. There's still the problem of the node context missing in theme_email_formatter_contact(), and using arg(1) as workaround isn't quite the nicest of all solutions.
Comment #9
klausiFurther development:
* contact form should work now completely
* the content of the email via contact form is slightly different (removed the field name form the subject, the link points now to node instead of the contact form)
* the use of drupal_mail() was adopted to changes in drupal 6.x (introduced hook_mail())
Comment #10
mh86 commentedThanks very much for the patch, I committed it to the DRUPAL-6--1 branch.
Concerning the spamspan encryption, it seems like it's not working correctly, I have to take a closer look at the spamspan module...
Comment #11
chipway commentedHi,
Could you deliver a DEV version of the email field module, in order for more people to test it.
I would be glad to test it myself, but I couldn't make the CVS version work.
Thank you
Comment #12
mh86 commentedI added a dev snapshot to the project page (it still might take some time until the package is available)
concerning the spamspan integration, it's working perfectly... I was looking at the HTML output after JavaScript transformed the mailto link, in the original HTML output the email was encrypted with the spamspan module as it should be :)
Comment #13
chipway commentedThanks a lot.
It seems to work (with mailto), but I didn't found any place to setup Form as the link action (Email Link Type in D5).
I like very much the "Contact form" Email Link Type, and I only use this one.
Any idea ?
Comment #14
mh86 commentedYou can find the according settings under the "Display Fields" tab. The Email Link Type setting has been removed in drupal-5 some days ago, because it was duplicated to the display fields settings...
Comment #15
Passionate_Lass commentedsubscribing
Comment #16
chipway commentedHi, thank you. I found the "Display Fields" tab, and asked for contact form which is labeled, but it doesn't works : when I click on the "Email contact form" link, I get an
Access denied
You are not authorized to access this page.
I didn't found where to setup this access right.
NB: In my case, the email address is not the one of a user but of a partner with no user account.
Thanks
Comment #17
chipway commentedI tried it with the same settings on d5, and it works fine.
What could be wrong with d6 settings ??
Comment #18
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #19
chipway commentedHi,
Any solution for my Access denied #16 issue ??
Thank you
Comment #20
chipway commentedHi, reopening
Any solution for my Access denied #16 issue ??
Thank you
Comment #21
vm commentedI'd highly suggest filing a seperate issue. for your problem as the original issue and yours don't necessarily overlap
Comment #22
chipway commentedOk, I do it