Download the PHP package asuwebplatforms/webspark-module-webspark_cropper_theme without Composer

On this page you can find all versions of the php package asuwebplatforms/webspark-module-webspark_cropper_theme. 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 webspark-module-webspark_cropper_theme

webspark_cropper_theme

Due to Layout Builder failing to load the backend theme, the crop and media library fail to work correctly. The module, Media Library Theme Reset, fixes issues with the media library but causes issues further down the line with the cropper. It should not be used. This module makes use of some functionality provided by the media library theme reset module but not all. Most functionality comes from the core Media modules themselves, although they may have been altered to add libraries. LIbraries added are direct copies of core seven/theme.

Functions/Hooks

Template suggestions

A template suggestion is provided for the the cropper details tab - details--crop-wrapper

Media Form Alter

Adds back the seven media library libraries.

Preprocess views view fields media library

Adds a class to the view to provide a click to select mechanism.

Form Alter

Used to add classes/libraries. Webspark Cropper theme libraries are specifically added here. Adding them to the Layout BuilderForm itself produced random outcomes. Sometimes the libraries were available. Sometimes not.

Media Library Add Form Alter

Again used for adding libraries and classes, plus a missing string of text in the template.

Preprocess Links Media Library

Adds classes to the links in the left pane of the cropper.

Media Library Add Form Upload/OEEmbed form alter

Opportunity to add classes to these forms for styling.

Preprocess item list media library add form

Allows to add classes specifically for adding items to library.

Preprocess media library item small

This targets each pre-selected media item selected when adding new media in the modal media library dialog.

Preprocess fieldset media library widget

Adding classes to fieldset.

Theme Registry alter

A lot of heavy lifting here with templates. It is necessary to override the views templates and force it to use specific templates. Media specific templates are stored in the templates folder of this module.

Views Pre Render

Adds classes

Theme library info alter

Requirements for ASU involve modifying the core seven theme dialog.css. These are minor modifications to display the close button differently, for example. The css, dialog-overrides.css, is stored in the css folder of the module. If alterations are required to the dialog.css they should be made here for the backend theme.


All versions of webspark-module-webspark_cropper_theme 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 asuwebplatforms/webspark-module-webspark_cropper_theme contains the following files

Loading the files please wait ....