I've put together a port to D7 for this module.

I didn't make any functionality changes, just changes to the code to support the API changes in D7.

CommentFileSizeAuthor
contact_field.patch60.93 KBelliotttf

Comments

beautifulmind’s picture

Thanks for you concern. I'm about to publish versions for 5.x and 7.x branches.

Regards.

geek-merlin’s picture

any movement to this?

beautifulmind’s picture

Yeah.
Almost done but there are few more features that I'm adding to it.
Thanks for your work. I really appreciate it.

Regards.

geek-merlin’s picture

great to hear.

you like to push it to dev so we can help out?

in few hours this will be even easier thanks to git infrastructure.

herve’s picture

Thanks a lot, very nice module, i ve used it in several sites with D6. Some news about the D7 compatibility? :)

beautifulmind’s picture

Yeah,
Thanks for your concern and using the module. There were few issues locally with the system I was working on.
I'll publish a release for 5.x and 7.x soon.

I really appreciate your concern.

Regards.

klausi’s picture

Status: Needs review » Needs work
+++ contact_field.info	28 May 2010 04:44:17 -0000
@@ -1,6 +1,8 @@
+;$Id$

$Id is dead.

+++ contact_field.install	28 May 2010 04:44:17 -0000
@@ -16,7 +16,6 @@
  * @author Bhavin H. Joshi <bhavinjosi@joshics.in>
  */
 function contact_field_install() {
-  drupal_install_schema('contact_field');
 }

An empty install function?

+++ contact_field.module	28 May 2010 04:44:18 -0000
@@ -93,11 +87,14 @@ function contact_field_form_alter(&$form
+  $ss__field_exist = db_query(
+    "SELECT field_type FROM {contact_fields} WHERE field_name = :field_name", ¶
+    array(':field_name' => $form_state['values']['contact_field_name'])
+  );

Please use the DB API instead of raw SQL queries

+++ contact_field.module	28 May 2010 04:44:18 -0000
@@ -93,11 +87,14 @@ function contact_field_form_alter(&$form
+    "SELECT field_type FROM {contact_fields} WHERE field_name = :field_name", ¶

trailing white space

+++ contact_field.module	28 May 2010 04:44:18 -0000
@@ -133,32 +129,31 @@ function _get_field_details() {
+    db_query("DELETE FROM {contact_fields} WHERE field_name = :field_name", array(':field_name' => $ss__field_name));

Again, please use the DB API.

+++ contact_field_admin.inc	28 May 2010 04:44:18 -0000
@@ -77,28 +76,31 @@ function contact_field_add_field($op, $s
+      t("No contact form field module is enabled. Please enable from !module", ¶

trailing white space. Also at other places.

Powered by Dreditor.

ben kuper’s picture

subscribe

vacilando’s picture

Subscribing.

BEfH’s picture

subscribe

Would be great to have a dev port!

beautifulmind’s picture

Hello,
I am almost done with porting this module to 5.x and 7.x.
As I wated to port to both the version simultaneously, it has taken a while before any updates.

I really appreciate your patience and using the module.

Regards.

geek-merlin’s picture

Title: Port to D7 » D7 Port of Contact form fields

:-)

RonD’s picture

Can you post a tarball of latest 7.x dev?

Thank you.

sw3b’s picture

Subscribe ! If you want help to put a DEV. Maybe publish what you got and people could post issues so that way all the community will work on it to help you !

Thanks.

zhgenti’s picture

Subscribe

nfriend’s picture

Looking forward to this - Thanks. -Neil

chiappa’s picture

subscribe

serialbob’s picture

subscribe

zhgenti’s picture

subscribe

pitxels’s picture

subscribe

Argus’s picture

Why not simply use Webform?

chaloum’s picture

when will the D7 port of this module be available?

Hitby’s picture

Subscribe

extrarumeno’s picture

Subscribe

Everett Zufelt’s picture

sub

beautifulmind’s picture

Assigned: Unassigned » beautifulmind
Status: Needs work » Postponed

Thank you for your concern and using the module. I really apprecaite.
The module has been rewritten to accomodate field api. So, it will take a while before having a release.

Thank you.

beautifulmind’s picture

I'll create a branch for Drupal 7 and share all the code for community review. Please don't worry. I really want to help community by contributing as much as I can.

Thank you.

pitxels’s picture

Subscribe

RonD’s picture

Subscribe

Yuri’s picture

+1

shaisamuel’s picture

+1

Everett Zufelt’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Postponed » Active

There appears to be a 7.x-1.x branch now, I haven't looked at it or tested in any way.

extrarumeno’s picture

Where do I get the new release 7x ?

Everett Zufelt’s picture

git clone -b 7.x-1.x http://git.drupal.org/project/contact_field.git

I don't believe that there is a release snapshot yet, so it needs to be cloned from git.

beautifulmind’s picture

Its a development snap shot, btw.

Regards.

Everett Zufelt’s picture

@beautifulmind

Would you mind please creating a dev release on the project page, using the 7.x-1.x branch? This would allow issues to be filed against 7.x-1.x.

beautifulmind’s picture

Yeah, I'm working on it.

Thank you very much for your concern and using the module. I really appreciate it.

Regards.

Everett Zufelt’s picture

@beautifulmind

It takes about 90 seconds to create a dev release on the project page. This would help to get people testing the 7.x port, and would also allow them to file issues against 7.x-1.x. It would likely be very helpful for you, and others, if you do this.

extrarumeno’s picture

and now a year since its release Drupal 7 .. and a lot of modules are not yet brought to the new version.
This time it went badly with 7... :(

Everett Zufelt’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev

Nice, there is finally a development release (although not on the project page). I encourage everyone to test and file any bugs they may find against 7.x-1.x.

http://drupal.org/node/727486/release?order=file_name&sort=asc

beautifulmind’s picture

Status: Active » Closed (fixed)

The porting has been started.
Thanks for your concerns and using the module.

Regards.

extrarumeno’s picture

Thank you for releasing the test version.

It can have a field attachment?

With this form is perfect . :)

beautifulmind’s picture

Yeah definitely.
There is a module already exist but I am not sure if its already ported to 7.x.

Regards.

JoshOrndorff’s picture

Any status update on this project?

henry97’s picture

Answering #21:

1/ cause you can't put it in a block - all you can do is only a node - what if I want a custom contact form (with custom fields) on the left or right added as a block to some content types?

2/ I don't know how to make it simply post an email after user submission without exporting submitted data into sth, then colecting it and sendung via email

henry97’s picture

Answering myself #45

Well, actually you can do those - my bad, a lot of to search and read about.

http://drupal.org/documentation/modules/webform