Skip Navigation

[Resolved] CRED edit-post link (V1.9) Doesn’t Show on Frontend

This thread is resolved. Here is a description of the problem and solution.

Problem:
CRED edit post link doesn't Show on Frontend for Guest users.

Solution:
In CRED Frontend Access, you have to enable/check Edit Others Custom Post with CRED Form "Form_Name" because system does not know who is the Guest user, system treats every logged out user as Guest.

Relevant Documentation:
https://toolset.com/documentation/user-guides/displaying-cred-editing-forms/

This support ticket is created 7 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
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 12 replies, has 3 voices.

Last updated by julieP 7 years, 4 months ago.

Assisted by: Noman.

Author
Posts
#534388

This follows on from my previous ticket.

Something went completely awry with my installation whilst Noman and I were trying to sort out the issue I reported on the other ticket so I nuked that site (it's my test/development site so it doesn't matter) and have just finished reinstalling wordpress and toolset plugins. This is multi site installation using sub-directories.

I've created one post type, 1 post group, 5 post fields, 1 post form (create & edit versions), a Content Template to display the edit version of the form and a View to display all posts with just the post title and the CRED edit form link which looks like this:-

[toolset-edit-post-link content_template_slug="amend-day-care"]Amend[/toolset-edit-post-link] 

On the frontend, I see the post title but not the link.

Please advise.

#534585

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Could you please make sure that you followed the following Doc for adding CRED post edit link:
=> https://toolset.com/documentation/user-guides/displaying-cred-editing-forms/

Could you please share your old ticket link as well as the problem URL?

#534596

Hi Minesh

yes, I'm following the documentation.

When I add the CRED edit-post link manually, the link doesn't display on the frontend. If I use the Loop Wizard, I get this shortcode instead (I'm not given the option to select the CT containing the edit version of the form). This shortcode links to the backend not the frontend:-

[wpv-post-edit-link text="Amend"]

This is the first ticket:-

https://toolset.com/forums/topic/new-method-of-creating-post-edit-link-in-cred-version-1-9-not-working/

Thank you

#534867

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Julie,

Minesh asked me to take over this ticket, I hope that is ok. The steps you have taken appears to be correct.

For the Loop Wizard method, when you add CRED Edit link, there is an Edit button in loop wizard popup window from which you can select the Content Template carrying the edit form. However, the other method we talked about is more recommended one (Create CT > Insert edit form into it > then using Fields and Views button > we insert CRED edit-post link).

To speedup things, I need to request temporary access (WP-Admin and FTP Login info) to your site, so that I can go in and repeat the same steps to figure out what’s happening, as it's a new site then it should be easily working or reproducible bug. Your next answer will be private which means only you and I have access to it.

=== Please backup your database and website ===

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

Looking forward to help you, Thank you

#534923

Can I make a request at this point please that the documentation for this feature is re-visited and updated; currently it encourages the use of the Loop Wizard and makes only a cursory reference to the manual method. The Loop Wizard though creates the wpv-post-edit-link which links to the backend and this point is not clear in the documentation nor is it clear that if you want a frontend post edit link you need to add it manually.

Thanks

#535531

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Julie,

Thank you for providing login info and for the doc suggestion. I have informed our doc team leader and I find out that the doc renew request is already in processing and I have added your suggestion into that. I am going to debug the rest issue further on the site and will update you soon.

Thank you

#535552

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Julie,

I have re-added Post edit link in the View and it is working as expected. When I click on Amend it will go to front-end post edit link page, please check here: [LINK REMOVED]

I have recorded the short video to confirm this:
[LINK REMOVED]

Thank you

#535586

Hi Noman

My heart sank when I first read your response - I thought I must be losing my marbles especially when I visited the page again and STILL couldn't see the links.

I then thought perhaps I'd not set Access up correctly but as I checked over things and ran a test again, I realised the problem is I can see the content as Admin but not as Guest.

I love the video tool by the way so I did my own for you!! In the recording, I'm using a Google session as Admin and a Mozilla session as Guest and shows the issue (and that I really am NOT dreaming or going mad!!). My internet connection isn't great, I'm afraid, so there's a bit of pause in the middle. Here's a link to download:-
[LINK REMOVED]

#535690

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

oh I can see that now, that problem is eventually with the Edit links for the Guest users. I am going to debug this further and see what needs to be changed in this case to make the Edit links work for the guest users. I will update you soon.

Thank you

#535732

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Julie,

In CRED Frontend Access, you have to enable/check Edit Others Custom Post with CRED Form "Day Care_Amend Booking" because system does not know who is the Guest user, system treats every logged out user as Guest. I have enabled this option and now Edit link is displaying and working for Guest user.

Thank you

#535890

Hi Noman

That certainly makes sense. Thank goodness we got to the bottom of it. I've been done some further testing this morning; some of the conditional statements I was using that worked previously don't work now so something has changed but I can make some adjustments and achieve an acceptable outcome.

I wonder whether originally I was testing visibility of the link as a Guest whilst thinking I was logged in as a User. Either that or there was something awry with my previous installation. I guess we'll never know. Thank you for your help - it's much appreciated.

Could you remove/disguise the URLs to my site please in your threads so I can mark this as closed?

Thanks

#535985

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Julie,

I have removed the site url. Please kindly mark this current ticket as resolved if all is good now.

Have a great day,
Thank you

#537092

Thanks Noman!