• Resolved Reventlov

    (@reventlov)


    Hi,

    How can I let editors edit existing forms or create new forms ?

    I would like to change the user role capability.

    regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @reventlov

    Thank you very much for using our plugin. In the current plugin version you must edit the plugin’s code. Please, follow the steps below:

    1. Open the “/wp-content/plugins/calculated-fields-form/inc/cpcff_main.inc.php” file with the text editor of your choice.

    2. Go to the piece of code:

    add_options_page('Calculated Fields Form Options', 'Calculated Fields Form', 'manage_options', 'cp_calculated_fields_form', array($this, 'admin_pages') );
    
    // Menu option
    add_menu_page( 'Calculated Fields Form Options', 'Calculated Fields Form', 'manage_options', 'cp_calculated_fields_form', array($this, 'admin_pages') );

    3. And edit it as follows:

    add_options_page('Calculated Fields Form Options', 'Calculated Fields Form', 'edit_pages', 'cp_calculated_fields_form', array($this, 'admin_pages') );
    
    // Menu option
    add_menu_page( 'Calculated Fields Form Options', 'Calculated Fields Form', 'edit_pages', 'cp_calculated_fields_form', array($this, 'admin_pages') );

    If you need additional customization in your plugin copy, please, contact us through the plugin website:

    https://cff.dwbooster.com/customization

    Best regards.

    Thread Starter Reventlov

    (@reventlov)

    Wow 🙂 Such a fast support ! Thank you !

    Will that new code be erased after an update of the pllugin ?

    Plugin Author codepeople

    (@codepeople)

    Hello @reventlov

    Yes. Unfortunately, WordPress replaces the plugin files with the new ones in the update process.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Allow editor to create or edit new forms’ is closed to new replies.