Okay
  Public Ticket #2854278
Addon Question
Closed

Comments

  • David started the conversation

    Can I use the Master Detail Addon with Gravity forms addon? In other words, with a gravity form(s)?

  • [deleted] replied

    Hi David

    Thank you for reaching out to us.

    You can use Master Detail addon on tables created from Gravity Forms.

    You can use placeholders to pass the information to the form, as described here 

    1296438754.png
    6778098114.png

    but there is one thing to have in mind; all themes and plugins rendered on the front-end are executed in a specific amount of time. We're using the_content filter - WordPress' built-in filter for fetching the content from the page, and then we replace the placeholders. Every theme and the plugin that use this hook can set the priority to a different value, and that makes it impossible to work correctly with every single one.In Master-Detail add-on, in file wp-content/plugins/wdt-master-detail/wdt-master-detail.php on line 122 you will find the hook that we use:add_filter( 'the_content', array('wdtMasterDetail\Plugin', 'filterTheContent'), has_filter('tcb_remove_deprecated_strings') ? 999 : 10);Change "10" to some bigger value (99 for example), and see if it works with it. If it doesn't, increase it further.Reference: $priority (int) (Optional) Used to specify the order in which the functions associated with a particular filter are executed. Lower numbers correspond with earlier execution, and functions with the same priority are executed in the order in which they were added to the filter.Default value: 10