WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
need code review for a new module (7 posts)

  1. shemesh
    Member
    Posted 1 year ago #

    hi,
    i've written a new module to add location on a map.
    i need someone to code review me, as i'm new here.
    plz send me an email and i'll reply with my code.
    send to shemeshi at gmail dot com

    tnx.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Why not publish your module on WordPress Plugin Directory or github?

  3. shemesh
    Member
    Posted 1 year ago #

    published in github: xshemesh.php

    NOTE THIS IS ONLY A BETA.

    put this file in the 'modules' folder inside cf7.
    the tag name is xshemesh (will be changed when it will get stable).
    i'm using cf7 to db extension.

    please say what you think, help me get it better.
    tnx.

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    You should make it as an independent plugin instead of a module in Contact Form 7 folder. Custom module will be removed when the plugin is updated.

  5. shemesh
    Member
    Posted 1 year ago #

    oh, i didn't know that.

    now working on the plugin on github over here:
    https://github.com/Shemesh/contact-form-7-map-field

    it is still work in progress, but i'm eager to hear your say about it.
    any advice can help as i'm new to wp development, and php. especially about the code.

  6. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Great job!

  7. shemesh
    Member
    Posted 1 year ago #

    :-) tnx.

    plz take a look again in the same place in github.

    1) I've made a change in the files structure: separated the map html&js code to a different file. sounds good?

    2) when looking at the generated form html source code (browser -> view source) there seems to be some error! i couldn't find why. plz help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.