Edit Links In View Disappear?

By: Michael Clark | Asked: 07/11/2022
ForumsCategory: General questionsEdit Links In View Disappear?
Michael ClarkMichael Clark asked 2 years ago

No matter what I do, the [editlink label="Edit"..] disappears from the first few records in a view. Anyone know if a work around?

Michael ClarkMichael Clark replied 2 years ago

Note: WP Multisite. Not editing across sites, just one site.

Bobby Clapp replied 2 years ago

Must be something with the filter or maybe if it's a nested view?

Michael ClarkMichael Clark replied 2 years ago

Hi Bobby! Always appreciate your willingness to share ideas and insights. The only thing I had was a sort on the View, and there was no change when I toggled that.

Bobby Clapp replied 2 years ago

And is front-end editing enabled in the form options?

Victor Font replied 2 years ago

I had a situation where I developed a front end editing view for a client. It worked great for awhile and then the edit link stopped getting generated. The code was in the view. Formidable just stopped creating the link. There were no errors with WordPress debug enabled, no server level or jQuery errors either. It's a mystery. Nothing changed on the site except one or two Formidable update. My client was supposed to open a ticket with Formidable support. I haven't heard back with the results, yet.

Michael ClarkMichael Clark replied 2 years ago

Hey, Bobby. Yep, front-end editing is enabled.

Victor: it's an odd thing, for sure. Was hoping someone here had experienced this and solved it.

Steve WellsSteve Wells replied 2 years ago

Could this be a permissions issue? Is the person viewing the entry/view on the front end authorized to edit the entry?

Michael ClarkMichael Clark replied 2 years ago

Hi Steve! Sadly, doesn't seem to be a permissions issue. Super admin is the only user in the site. I also toggled permissions to make the Administrator role the only one with editing permissions for the form. No custom logic, just some CSS. My next thing is to inspect CSS and see if it's a dynamic CSS visibility issue. It's pretty light, and not doing anything other than general styling. No weird animations or oddball timings. Fairly vanilla stuff. But it's the next thing I can think of. After that, it's on to moving the form out of multisite (although there's only one other site active in there). Simple one page form. I'll move it back to staging and see what's what there, if the CSS sleuthing turns up zilch. Thanks for the suggestion!

Victor Font replied 2 years ago

Steve, this was my first thought with the project where I encountered this behavior. The project had ended weeks earlier with a successful delivery. The project delivered an email link that opens a View of a project quote form entry that allows front end editing for the signature field required for the recipient's consent. This was working beautifully when the project ended.

When my client notified me that it suddenly stopped working, I asked him to restore my admin account so I could debug the problem. There have been no code changes and no captive errors in any log. The edit link would not render no matter what I tried to do to fix it. I tried everything I know how. He said he was going to open a ticket with support.

I did not try the frm_user_can_edit hook. Nor have I tried to replicate the issue in my development environment.

Michael ClarkMichael Clark replied 2 years ago

<p>I've done some more troubleshooting, and here's what I've found: When I update an entry to add or change a category, I lose the ability to edit a record.</p><p>I've even made a link in the view to edit the entry by wrapping the name of the entry in <a href="site.com?frm_action=edit&entry=[id]">entry name</a>, and after changing the taxonomy of an entry, the link opens the page with the form, but the form is empty and the URL parameter has the correct entry id in it.</p>

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right