Sauter la navigation

[Résolu] Show user uploaded files in a User Dashboard

This support ticket is created Il y a 3 années. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par duongN-3 Il y a 2 années et 12 mois.

Assisté par: Minesh.

Auteur
Publications
#2280423

Tell us what you are trying to do?
Create a dashboard that shows 2 things:
1) User-created content (posts, custom types)--completed
2) User uploaded media (images, subtitles)--what's the shortcode for this?

Media is uploaded to a custom post type called "Subtitle Projects"

Allow users to do the following:
1) View uploaded media
2) Delete (inline from dashboard--moves content to Trash)
3) Edit uploaded media (link users to "Subtitle Project" where media is uploaded to)

Is there any documentation that you are following?
N/A

Is there a similar example that we can see?
N/A

What is the link to your site?
lien caché

#2281533

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As you shared that the media is uploaded using the post type "Subtitle Projects".

What if you try to follow the following steps:
- Create a post edit form for your post type "Subtitle Projects".
=> https://toolset.com/course-lesson/front-end-forms-for-editing-content/#1-create-the-form-for-editing
- Create a view to list posts of post type "Subtitle Projects" and then add a Edit link to edit the specific "Subtitle Projects" post:
=> https://toolset.com/course-lesson/front-end-forms-for-editing-content/#adding-an-edit-link-to-a-list-of-items

So, now when you edit the post, it will allow you to edit the uploaded media for that specific post.
so, what if you create a list of posts using view and set the view to query the post type "Subtitle Projects" where you list the posts with Edit link for

#2282145

Not exactly what I needed, but close enough. This will do for now!
My issue is resolved now. Thank you!