ole1986 / wp-ispconfig3

Wordpress ISPConfig plugin with Gutenberg support
https://wordpress.org/plugins/wp-ispconfig3/
28 stars 13 forks source link

Integrate wizard options into WP-ISPConfig Blocks #25

Closed ole1986 closed 3 years ago

ole1986 commented 4 years ago

Since WP-ISPConfig supports Gutenberg blocks I would want to have it more comfortable. Something like a wizard implementation allowing to build up several pages and keep the previous information in session.

For example:

A client registration is filled up, and then redirected to the website creation "page" containing the previous client registration info in session. Once Website domain has been chosen it will redirect to FTP creation "page" or finalize the process while storing all into ISPConfig database.

ole1986 commented 4 years ago

Client Configure the client form to be a randomly generated user account and store wordpress and ISPConfig Continue with the next page for website input

client

Website Configure the website form to fetch the client information from session Continue with the next page for database input

database

Database Save all data (incl. those which are still in session) Also configure the database form to fetch the client details from session website

unuxm commented 4 years ago

Where the link leads /wp-ispconfig/wp-ispco.........?????

ole1986 commented 4 years ago

It is supposed to be a new page containing another WP-Ispconfig Block.

I always would want to have this managed by blocks only but didn't had the chance to implement it...

Hopefully I will get this to work some day

unuxm commented 4 years ago

And how do I implement the creation of a client and site that is already an existing user, not during registration? Thank you in advance!

ole1986 commented 4 years ago

Check out the screenshot from here

Create Client In the first step a new client user is being generated using the "Create Client" WP-ISPConfig Block type and you can optionally include user information from a logged in wordpress user. Then you would setup the "Action" to Continue with... the next page (in your example another page containing a WP-ISPConfig block of type "Create Website")

Create Website In this step a WP-ISPConfig Block of type "Create Website" is being used with the Client ID of Session to tell that it use the previously generated account (from the "Create Client" page). Then you choose the Save action to save it into ISPConfig3