• Resolved Cafn

    (@cafn)


    Hi there.

    Is it possible to have custom fields added to the configuration?

    I have more fields configured on pipedrive and I required that those fields would be populated by this plugin.

    I have skills on programing, just need some lights and we can make a good update for the plugin.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • edwinbeek

    (@edwinbeek)

    I have the same problem, this would be a great functionality.

    Plugin Author lucasbhealy

    (@lucasbhealy)

    Working on an update now that will make them available. Keep your eyes peeled.

    Plugin Author lucasbhealy

    (@lucasbhealy)

    A follow up: I’ve released a new version that includes more person, organization, and deal fields and allows for the use of custom fields using the WordPress Filter system.

    Hey Lucas, thank you for this plugin, really good! Im from Brazil, so sorry for my english!

    I need to use “city” field of pipedrive in “person fields”, have a way?

    Thank you!

    Plugin Author lucasbhealy

    (@lucasbhealy)

    Reviewing the default person fields I do not see a city field. So I assume you’ve added the field, “city,” for persons in your Pipedrive Custom Fields settings.

    If you go to the frequently asked questions section of this page: https://www.everythinghealy.com/contact-form-7-pipedrive-integration-wordpress-plugin/. You’ll see I mention how to add fields via the WordPress filter system.

    So your code would look like this:

    
    add_filter('cf7_pipedrive_person_fields', 'update_fields');
    function update_fields($fields) { 
        $fields['your-custom-field-api-key'] = array( 'api_key' => 'your-custom-field-api-key', 'display_name' => 'Custom Field Display Name'); 
        return $fields;
    }
    

    Except replace your-custom-field-api-key with the field api-key and replace “custom field display name” with, “city.”

    This can go in your theme’s functions.php file.

    Thank you for the support! I added the code in functions.php, but the person field dont appear in Pipedrive Integratino. Can you help me again? My code:

    	add_filter('cf7_pipedrive_person_fields', 'update_fields');
    function update_fields($fields) { 
        $fields['3e71e2884da69dda280b8e6f5c0ea00665402d1e'] = array( 'api_key' => '3e71e2884da69dda280b8e6f5c0ea00665402d1e', 'display_name' => 'Cidade'); 
        return $fields;
    }
    Plugin Author lucasbhealy

    (@lucasbhealy)

    That should work. Is Cidade assigned as a custom field for Person in your Pipedrive settings?

    Plugin Author lucasbhealy

    (@lucasbhealy)

    I’m curious if this is an issue because your using a language other than english. I’ll have to look into the issue.

    I’ve created a possible issue in GitHub: https://github.com/quesihealy/cf7-pipedrive/issues/9.

    I’ll get around to it as soon as I have a moment, but it will likely have to wait until after Christmas.

    Thank you for reporting your issue to me. I hope to have it fixed asap.

    HI Lucas, I also experience the same issue as @cineemcasa

    @cineemcasa

    I creates a custom field in pipedrive > copy the field api, copy the codes in function.php and still no field added in the plugin..

    See image here https://imgur.com/a/Wdtfp
    Thanks.

    • This reply was modified 6 years, 11 months ago by grant512.

    I am trying to put multiple filters an more than one type. So, I have this code:

    }
    add_filter('cf7_pipedrive_deal_fields', 'update_fields');
    function update_fields($fields) {  
        $fields['90466f443dbc1f5ff84ca8b069cb4a0fdf064087'] = array( 'api_key' => '90466f443dbc1f5ff84ca8b069cb4a0fdf064087', 'display_name' => 'Data da consulta');
       return $fields;
        }
        
    add_filter('cf7_pipedrive_person_fields', 'update_fields');
    function update_fields($fields) {
        $fields['a588cb657c7c6bfd224de8a8226cf969c58df494'] = array( 'api_key' => 'a588cb657c7c6bfd224de8a8226cf969c58df494', 'display_name' => 'NIF'); 
        return $fields;
    }
    

    But returns with HTML error 500

    What am I doing whrong? It accepts only one add_filter without error. If I put 2, it breaks the page.

    Any idea?

    Best regards,
    Vitor

    hi,
    i made a PR to use custom fields without coding.

    https://github.com/quesihealy/cf7-pipedrive/pull/10

    Is there any problems?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Custom Fields’ is closed to new replies.