Anyone know if a drupal 6 version of this content type is being developed?

Comments

vm’s picture

This 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.

mh86’s picture

this 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...

klausi’s picture

Hi,

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.

mh86’s picture

hi!

thanks for your work! I take a closer look at it as soon as possible :)

klausi’s picture

Status: Needs review » Active

I 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.

jpetso’s picture

Status: Active » Needs review

Status update: active -> patch (code needs review).

jpetso’s picture

StatusFileSize
new12.27 KB

Cleaner 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).

jpetso’s picture

StatusFileSize
new18.86 KB

New 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.

klausi’s picture

StatusFileSize
new19.82 KB

Further 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())

mh86’s picture

Status: Active » Needs review

Thanks 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...

chipway’s picture

Hi,

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

mh86’s picture

Status: Needs review » Fixed

I 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 :)

chipway’s picture

Thanks 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 ?

mh86’s picture

You 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...

Passionate_Lass’s picture

subscribing

chipway’s picture

Hi, 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

chipway’s picture

I tried it with the same settings on d5, and it works fine.

What could be wrong with d6 settings ??

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

chipway’s picture

Version: master » 6.x-1.x-dev

Hi,

Any solution for my Access denied #16 issue ??

Thank you

chipway’s picture

Status: Closed (fixed) » Active

Hi, reopening

Any solution for my Access denied #16 issue ??

Thank you

vm’s picture

Status: Active » Closed (fixed)

I'd highly suggest filing a seperate issue. for your problem as the original issue and yours don't necessarily overlap

chipway’s picture

Ok, I do it