Skip Navigation

[Resolved] Can't Edit Listings

This support ticket is created 5 years, 3 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by julieP-5 5 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1311761

I am new to Toolset but I am an experienced programmer and wordpress developer.

I am trying to: allow users to edit their own haunted Houses. I followed the tutorials (or tried to) but the only thing I can show is the form itself, and I would like a little button that links the user to the form pre-populated with their current info.

Link to a page where the issue can be seen: hidden link

I expected to see: a button at the top of the page - under the title.

Instead, I got: nothing.

ADDITIONALLY - I am trying to set up a contact form - I read there is a way to do this on a classifies theme in the help, but that shows 404 no longer exists. I have type REQUESTS and the form, and a relationship - I just need to know how to add the button.

My thought was 4 buttons across top of page: EDIT | EVENTS (just goes to bottom events listing) | REVIEW (just goes to bottom review form) | CONTACT

i would LOVE to have 2 forms - my businesses are in two types, partners and alt partners and each listing is already coded with this data. If the listing is a partner, I want the form to be a RESERVATIONS form, and if it is an alt partner I want the REQUEST form.

#1311933

Hello,

Q1) Allow users to edit their own haunted Houses.
I assume you are going to edit current "haunted-house" post with Toolset Forms plugin.

If it is, you can try these:
1) Create a post form for editing "haunted-house" post
2) Create a layout, display above edit post form
3) Edit layout "Template for Haunted Houses" , display the edit form link.

See our document:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

You can use [wpv-conditional] shortcode to check if logged-in user is current post's author, then display the edit form link, for example:

[wpv-conditional if="( '[wpv-current-user info="login"]' eq '[wpv-post-author format="meta" meta="user_login"]' ) "]
current user is same as the post author of current post, here display the edit form link
[/wpv-conditional]

See our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-conditional

You can also use Tooslet Access plugin to setup custom access permissions for Toolset forms, see our document:
https://toolset.com/documentation/user-guides/access-control-for-cred-forms/

Q2) For other additional questions:
My thought was 4 buttons across top of page: EDIT | EVENTS (just goes to bottom events listing) | REVIEW (just goes to bottom review form) | CONTACT

You can create different custom post types:
- CONTACT
- REVIEW
- EVENTS

Setup one-to-many post type relationships with "Haunted Houses", then setup different post forms for adding new post of above post types, display the child form link in single "Haunted Houses", see our document:
https://toolset.com/documentation/post-relationships/selecting-parent-posts-using-forms-create-child-items/

If you need more assistance for them, I suggest you create tickets for each question, we prefer one question one ticket, thanks

#1319337
FireShot Capture 048 - Layouts ‹ Haunted Passports — WordPress - hauntedpassports.com.png
FireShot Capture 047 - Edit layout ‹ Haunted Passports — WordPress - hauntedpassports.com.png

Hello, this is the tutorial I tried repeatedly to follow. I have forms, templates and layouts and views for everything. when I get to step 3 on this tutorial: https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
it says.....
In the dialog that appears, select the Content Template that displays your editing form.
Selecting the Content Template that displays an editing form
That’s it, a shortcode with a link to edit the current post is inserted.

It does not show the image in your tutorial. Instead, I get this screen (see attached 047). it wants a layout. So, I have layouts, see 048, the haunted business is the haunted house edit form.

So what's going on there?