Skip Navigation

[Resolved] link delete relationship not visible

This support ticket is created 2 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by yvonneJ 2 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#2417783
del.JPG

Hi,

what is wrong in this code:
[wpv-post-taxonomy type="nascholing-of-cursus" item="@zorgaanbieder-nascholing.child"]: [wpv-post-title item="@zorgaanbieder-nascholing.child"] - [types field='jaartal-nascholing'][/types] [cred-delete-relationship role_items='$fromViews' relationship='zorgaanbieder-nascholing' redirect='self'](-)[/cred-delete-relationship]

the delete option does not appear.

#2418001

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please make sure that the user with assigned role has the correct rights to delete the relationship?

#2418063

Hi Minesh,

I am not sure where to find that.

#2418087

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share on what page/post you are trying to display the delete relationship link and using what user you loggedin on frontend.

In addition to that I will require admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site.

I have set the next reply to private which means only you and I have access to it.

#2419737

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Unfortunately - the frontend user access details is not working at this end. Could you please send me working access details for frontend user.

I have set the next reply to private which means only you and I have access to it.

#2420021

Hi Minesh,

I am not sure if I understand your question.
we made these posts for users with the subscriber role.

I made a new account for myself.
same password LYcYj$L&4UUwR4Vq
email addy@dainamics.nl

I made myself author of
hidden link

#2420639

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The view you are using is set to query the intermediary post type "Zorgaanbieders Nascholingen Jaartallen":
=> hidden link

The shortcode to delete the relationship ( [cred-delete-relationship] ) will only work from a view that is set to show posts belongs to either the "Zorgaanbieders" (parent) or the "Nascholingen" (child) post type.

The workaround to to achieve this is to replace this "[cred-delete-relationship]" shortcode with the regular post delete shortcode "cred_delete_post_link":
( ref: https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_delete_post_link )

Could you please try to use this shortcode instead of ( [cred-delete-relationship] ) and check if that help you to resolve your issue:

[cred_delete_post_link action='delete' message_show='0' class='cred-refresh-after-delete']Remove[/cred_delete_post_link]
#2421139

My issue is resolved now. Thank you!