Skip Navigation

[Resolved] Using Toolset in WP backend

This support ticket is created 6 years, 4 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)

Tagged: 

This topic contains 1 reply, has 2 voices.

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

Assisted by: Luo Yang.

Author
Posts
#1087139

For a plugin i would like to use Toolset components for the part that happens in the admin (displaying/listing/editing custom post types)

- is it a good idea to use toolset in backend?
- is it correct that i have to use functions like "render_view"? do_shortcode(..) is not working so far. render_view is working correctly.
- how do i display a cred-form via php in backend?

if there are some must-reads for using toolset in a plugin, especially for the part in the backend, let me know.

thanks!

#1087407

Hello,

Q1) is it a good idea to use toolset in backend?

The Toolset Views plugin and Form plugin are designed to work in the front-end side, so some functions won't work as expected in the wordpress admin side, so it is not good idea to use Views and Forms functions in admin side.

Q2) do_shortcode(..) is not working so far.

Yes, same as above, this is correct, do_shortcode('[wpv-view ....]') does not work in admin side.

Q3) how do i display a cred-form via php in backend?

There isn't such feature, even it is possible with some custom codes, but it won't be able to work as expected.
As a workaround, you can try these:
1) Create and display the Toolset forms in front-end,
2) In admin side, only display links to front-end.