Download the PHP package threadi/easy-dialog-for-wordpress without Composer

On this page you can find all versions of the php package threadi/easy-dialog-for-wordpress. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package easy-dialog-for-wordpress

Easy Dialog for WordPress

This script enables the output of modal dialogs in the WordPress backend. It is fully flexible and can be used for a wide variety of applications.

Easy Dialog for WordPress Example

This is the repository for the script. The target group is developers of WordPress plugins and themes. Regular WordPress users should contact their technical support person if they have any questions.

Demo

This demo plugin demonstrates how the encryption could be used.

Requirements to use this package

Installation

  1. composer require threadi/easy-dialog-for-wordpress
  2. Switch to vendor/thread/easy-dialog-for-wordpress
  3. Add the codes from https://github.com/threadi/easy-dialog-for-wordpress/blob/master/doc/embed.php to your WordPress plugin or theme.

Configuration

Any dialog is configured with the following options as an array (each is optional):

Usage

PHP

Example 1

Example 2

JavaScript

Example

Custom styles

You can customize the output of the dialog with your custom CSS.

E.g.:

FAQ

Which WordPress version is required?

The lowest tested version is WordPress 6.6. To use it on older versions, use Easy Dialog for WordPress 1.0.4.

How to simply close the active dialog?

Use this JavaScript function: closeDialog();

Is it possible to create multiple dialogs on one screen?

No, you will be able to show only one dialog at the same time.

How to open a new dialog after the click on a button in dialog?

Call your own function as a callback for the button.

Example:

How to process the result of a button click?

Call your own function as a callback for the button. This function should be contain the way to process the result of the button click.

Example:

Tipp: when you display form fields within the dialog, you can easily collect their values using JavaScript.

Simple example:

Build a release

Create a new tag and use "build-2.x.x" as name for the tag.


All versions of easy-dialog-for-wordpress with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package threadi/easy-dialog-for-wordpress contains the following files

Loading the files please wait ...