Skip Navigation

[Resolved] I am totally lost…

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.

Our next available supporter will start replying to tickets in about 0.23 hours from now. Thank you for your understanding.

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 5 replies, has 3 voices.

Last updated by Luo Yang 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#907738

Eso
3.jpg
2.jpg
1.jpg

The Toolset documents are very rich and detailed.
But they are all so separatly displayed that I cant see the big picture anymore.
They are several plugins and I dunno which ones I need. I wont install them all coz I do not want my site to get slower than it is right now.
I already have a website, with a theme installed on it. I just need to achieve a simple thing but I am totally lost. So I will need your help to show me (please step by step) how to achieve this. Please explain how I must proceed with a correct order. And please tell me if I installed the correct components. Also if I need to install some more components in order to achieve what I want.

A. What I want to achieve:

1. I would like my website users, having the specific “employer” role, to use the forms I have created and submit their own content to my website. They will have to pay for each content submission. (Wcommerce). I have already setup a form for that. I the admin, will only publish the ones who have paid and of course would like to check and approve them before publishing. So they will be all set to “waiting for approval” initially.
2. Then, when I approve a post, I would like the post (filled by my users) to appear in a page but in “private” status. So that only me (admin) and the user (author of this post) are going to be able to see that page and its contents.
No one else must see.
3. I would like my users to be able to see a list of all their own posts (no matter which form type they have used to submit) and click on the ones they want to edit or preview from this list. But of course, I want them to be able to see only their own posts. Not the other users posts. In this listing table, I would like to show the date of submission + The ID of the post they have submitted + Name of the form they have used to submit their content + The amount they have payed for submitting their content + A button to show their submission + A button to edit the submitted content. (so that they can re-edit and send their content for approval if they want to change anything.)
4. I also want the user (post’s author) to be able to edit his own post. But when it is edited, post must again have status “waiting for admin approval”. So it mustnt be published directly, even if it was once published in the past.

B. Toolset Components I have installed:
CRED + CRED Commerce + Views + Types

C: What I have accomplished and What I dunno how to accomplish:
I have created my custom form fields group. And I have styled it in Forms with html.
Then I have put its shortcode to display it on a page. (see: hidden link)

- Form page looks great. After submit I am successfully redirected to the checkout page and payments work fine too.
- Then I have been to admin dash to check if the user submissions were successfully saved.
Yes, the filled content is displayed on the admin side if I click on edit post... (I have created my own post types, so I am not using the default WP posts category)

When I edit The submitted Post content, The custom fields show up fine , and the author submitted content is displayed in the WP Dashboard side.

BUT: But I cant see the authors contents submission as a "Post page".

Here the problem begins... And I really dont know what I am missing. Neither how to proceed after that point. I am totally confused and almost lost. Many questions in my head...

Check image 1: You’ll see that all my fields are saved in backend WP Admin Dashboard. But :

1. It is showing all the fields, even the ones that should be hidden because of conditional logic... they were not filled (not even displayed to the author). I would like to see only the fields that are filled from the user. Not the ones that are bypassed because of conditional logic.

2. When I click on preview page, it doesnt show up anything on the page... Just the form submission title. Check image 2. Which toolset plugin I must use, and what must I do (step by step) in order to be able to see ALL the content that my users have filled in the form and submitted to me ?

3. How make my users to be able to see a list of all their own posts ? Which toolset plugin I must use, and what must I do (step by step) in order to be able to achieve this? I would like each of their post to have an edit button so that they can edit what they have submitted previously.

4. And finally how can I setup a page from which my user is gonna be able to edit his content ?

5. How make the forms contents only visible to its author (my user) and me (admin) ? Do I need to install types access component for that? But please remember I want all my forms (not filled, initially) to be visible to everybody . Just the filled contents must be visible to its author and admin. How to achieve this ?

6. I have also created some templates, taxonomies, etc while trying to make all this work but no success.
You can check image 3.

E. My website's form link (if you wanna take a look:
hidden link

Help Needed:
- Do I need to install any other components ?
- Please explain step by step how to :
1. Show the form submissions as a list to each user their own with an edit button for each (Visible To only author)
2. Show the submitted and published form submission as a post ? with all filled content in it,except the fields that are by passed by conditional logic display. (To only author & admin)
3. Keep forms visible to everybody, but the form contents must be visible only to its author and admin.
4. Please check also the 6 points I have mentioned above.

Thanks a lot in advance. Please explain to me step by step. I have tried many ways and it even confused me more each time. So I will wait for your reply before trying anything else.

E.

#907747

You have posted the almost exact post here, to which I already replied:
https://toolset.com/forums/topic/i-need-to-understand-the-logic-of-toolset-i-am-new-to-thisits-not-easy-4-me/

In there I elaborated as generic as the questions asked, as we cannot support problems in tickets that are of mixed nature.

I suggested, to create single, particular and dedicated tickets for each problem you struggle with after considering the detailed general information I provided.

I see you have (a lot) of new questions as well, and this is not a problem, we will help you to solve these and achieve your goals if possible, but not in an "all in one ticket".

Please divide your doubts into single requests. This is as well better for you, for later reference.

Let me try to reply to your new questions here as well, in a more generic format:

- Do I need to install any other components ?

For your project, as far I see it, you need Types, Forms, Views, and eventually Toolset Access.
All those plugins have been introduced and mentioned in the earlier post as well, please refer to it.

- Please explain step by step how to :

1. Show the form submissions as a list to each user their own with an edit button for each (Visible To only author)

Exactly as I explained earlier in the previous ticket.
You create a View, query Posts of the type you wish, add a Query filter as "Select posts with the author the same as the current logged in user.".
Then, complete the Loop.
If you require an edit link there, please follow the steps I outlined on how to create Forms Edit Links.
It's as well on your previous ticket:
https://toolset.com/forums/topic/i-need-to-understand-the-logic-of-toolset-i-am-new-to-thisits-not-easy-4-me/#post-907720
The DOC on how to create such forms (and links to it) is here:
https://toolset.com/documentation/user-guides/displaying-cred-editing-forms/

2. Show the submitted and published form submission as a post ? with all filled content in it,except the fields that are by passed by conditional logic display. (To only author & admin)

You need to create a Content Template for those posts.
Insert all that you need to display there.
Then, apply this to your post type.
After, in the Toolset Form settings you choose to redirect to the post after submitting.
This will then let the user submit the form, and see the finished post after it.

For Conditional display in the front end as elaborated you can use:
- HTML Conditions
- Access ShortCodes
(both are already linked in the other ticket)

3. Keep forms visible to everybody, but the form contents must be visible only to its author and admin.

Forms can be controlled in Toolset > Access > Forms.
Content that is created by forms is entirely irrelated to Forms, and you can control who can see what either with Conditionals as above shown or controlling the Post types with Toolset Access:
https://toolset.com/documentation/user-guides/setting-access-control/

Please do file each problem, one ticket.
Generic tickets like these, where we need to handle the entire website's building process, are doomed to fail.
We will lose track, and after 2 posts like these, our space here will be used up and start to paginate.

I really suggest, both in the interest of you and us as supporters, to open a ticket each question, as you go along to the site's building.

I suggested in the other thread how to start.
This project is larger, and I would suggest to split this in parts.

Right now, you seem to deal with how to create and edit content.
So let's focus on that, and going along, you can then start to hide, show and list those contents.

#907756

Eso

Dear Beda, Thanks a lot for your patience really. I just wanted to thank you for your fast and detailed reply in advance.
I will work on it now, and let you know how its going. So for now lets not close this ticket please. I do not want to explain it all if ever I have other questions to ask. Just wanted to thank you for your reply... Will let you know in a few hours. Thanx a LOT.

#907759

OK, I will leave the ticket unassigned, because I am about to finish my shift.
Tomorrow, Christian will be around and eventually be able to respond.

#907808

Eso

Hi dear Beda, I've sended you a message to the other question ticket.
Can you please check it and get back to me when you have a minute ?
Thanks !
https://toolset.com/forums/topic/i-need-to-understand-the-logic-of-toolset-i-am-new-to-thisits-not-easy-4-me/#post-907795

#908297

Hello,

I have answered your ticket here:
https://toolset.com/forums/topic/i-need-to-understand-the-logic-of-toolset-i-am-new-to-thisits-not-easy-4-me/#post-908117

Please provide more details in that ticket, and let me know if you need more assistance for this ticket. thanks