Skip Navigation

[Resolved] Add CRED User Form on a page with CPTs authored by the user

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

Problem: I have placed a CRED form on a page that shows several CPT posts by the current User, but the form does not show up.

Solution: Check the Access settings for this form and User to ensure the User has permission to use the CRED form.

This support ticket is created 6 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 16 replies, has 3 voices.

Last updated by carlosB-2 6 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#906884

Instead of putting conditionals around the entire wpv-layout-start and wpv-layout-end tags, you could apply the conditionals to the contents of wpv-no-items-found and to the contents of the wpv-loop tags. Otherwise you will break the loop's expected structure. Another option is to cut all the content from the View's Loop Output editor that is before wpv-layout-start. Paste it outside of the View, just before the View shortcode. Then apply your conditionals around the View shortcode, suppressing the entire View if necessary, rather than just part of the View's output.

#906919

Hi Christian-

OK... I think we got it!

hidden link

Instead of displaying a view on the My Profile page, I set up a Content Template, and moved everything that was before the wpv-layout-start into the content template. I wasn't sure if the conditionals would work in a template (as opposed to a view), but they do, and then I added the shortcode for the view that I didn't want displayed until the presenter confirmed they were returning this year and wrapped them in the conditionals, and it works as I need it to.

Thank you so much for your patience and suggestions!