Support » Plugins » [Plugin: ProjectManager] Add Data Form in the frontend is redirecting to backend

  • I am using ProjectManager plugin to add/insert database tables in the posts.

    I have inserted the data set form in a post using the short code: [dataset_form project_id=1]

    The form is displaying well in the frontend. However once I click on Add Dataset, it is taking me back to backend. This will be problem for my users who are subscribers only and do not have access to the admin panel.

    I have looked at the template file dataset-form.php where the following code looks like the one which is responsible for redirecting to backend:

    <?php $page = 'wp-admin/admin.php?page=projectmanager&subpage=show-project&project_id='.$project->id; ?>
    
    <form name="datasetform" id="datasetform"  action="<?php echo $page ?>" method="post" enctype="multipart/form-data">
    <?php wp_nonce_field('projectmanager_edit-dataset'); ?>

    What should I be changing in the above code such that my users are not redirected to backend once they fill up the form.

    Any suggestions please?

Viewing 1 replies (of 1 total)
  • Hi knaveenchand, I’m running into the exact same problem. Have you found a workaround that you can share?-
    Any help would be awesome .)

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: ProjectManager] Add Data Form in the frontend is redirecting to backend’ is closed to new replies.