• Testing your WPDataAccess (like it so far)

    Issue: Unable to Delete or Edit table

    Simple table 3 fields Group_id, Group_Code, Group_Description
    Created Publication for Groups
    Created a Project – Group – Added Shortcode to page – Works
    Created a Project Maintain Groups
    Set Mode Edit, Allow Update, Allow Delete, Allow import no, Allow bulk actions no
    – Added shortcode to page

    Page displays Group rows – but when pressing edit nothing happens
    If I press Delete – I get warning message that delete can not be undone – bust does not delete

    Not sure if I’m missing something (Json editor)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @hobocs,

    Does the project work in the back-end? Please enable “add to menu” for the project and the project page to test if the project is configured correctly.

    Which shortcode are you using on the front-end? Please note that shortcode wpdadiehard does not work on a homepage.

    Thanks,
    Peter

    Thread Starter hobocs

    (@hobocs)

    Hi Peter Thanks for getting back to me

    Yes – editing and deleting work in the back end.
    Add to menu is Yes – on the project high level but I had “add to menu” NO on the child entry “Maintain a Group”

    Using [wpdadiehard project_id=”4″ page_id=”3″] not on a Home Page (PAged called Maintain Group)

    In Project – what does “Role” affect – at the moment I’m signing in with a user with Editor. (I’ve changed from Admin to author with no change affect.

    How do I remove and Role which is highlighted.

    Must be something simple of a setup option I’ve changed inadvertently

    FYI When I click on edit or delete on a row – I get the black pop up “Edit Row Data” – should I see another “Edit or Delete” confirmation button.
    For Delete I get Delete Row data (cannot be undone) – But I don not see any new button to complete the activity.

    Help direction, much appreciated.

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @hobocs,

    WP Data Access uses the WordPress user role to check if a users is allowed to access a project. There are a number of settings documented on the following pages:
    https://wpdataaccess.com/docs/documentation/data-projects/user-roles-and-where-clauses/
    https://wpdataaccess.com/docs/documentation/data-projects/managing-roles-and-user-access/
    https://wpdataaccess.com/docs/documentation/plugin-settings/manage-roles/

    >>> How do I remove and Role which is highlighted.

    You need to hold down the control key to remove a role from a project page. The same key can be used to add multiple roles.

    Make sure you enable “Use roles in shortcode wpdadiehard (DataProjects)” (third link above) if you want to use roles in wpdadiehard.

    >>> FYI When I click on edit or delete on a row – I get the black pop up “Edit Row Data” – should I see another “Edit or Delete” confirmation button.
    For Delete I get Delete Row data (cannot be undone) – But I don not see any new button to complete the activity.

    I cannot reproduce this issue. It works fine for me. Can you share some screenshots?

    Thanks,
    Peter

    Thread Starter hobocs

    (@hobocs)

    Peter thanks for the video tutorials
    I’ve reviewed these and nothings working for me.
    I’ve added a WP Redirect plugin WPLogin that may be affecting the permissions as I am using different logins for different table maintenance situations

    Peter, I’m going to start from scratch again – simple table add and edit.
    I’ll report back on the situation.

    Thanks for the direction and quick support responses.
    Much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to edit table from WordPress page’ is closed to new replies.