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!
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.