Download the PHP package plasticstudio/modulemanager without Composer

On this page you can find all versions of the php package plasticstudio/modulemanager. 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 modulemanager

Module Manager

Description

Manage site-wide modules (aka widgets) and select the pages on which they are to appear. This allows you to repurpose content across your website, and build easily modular content elements.

Dependencies

For a Silverstripe CMS 4.x compatible version of this module, please see the 3.x or 4.x release line.

For a Silverstripe CMS 3.x compatible version of this module, please see the 3 branch, or 2.x release line.

Installation

  1. composer require plasticstudio/ModuleManager
  2. Run /dev/build?flush=1
  3. Setup your Module Positions. There is an initial after_content area setup to get you started.
  4. Insert your Module Positions in your template (ie $ModuleArea(after_content))

Usage

Create a module area

  1. Edit your app/_config/config.yml file to add any additional module areas. Use the following format:

  2. In your template, use the code $ModulePosition(ALIAS) where ALIAS is your position's alias string.
  3. Run dev/build (/dev/build?flush=all)

Create a module instance

  1. Within the Module Manager admin, create a new Module object. The type dropdown will show the list of available module types.
  2. Assign your new Module object to one of the positions you configured in config.yml.

Build a custom module type

  1. Create a new DataObject file app/src/Modules/MyModule.php:

  2. Create your template file app/templates/{NameSpace}}/MyModule.ss:

  3. Perform a build and flush (/dev/build?flush=all)
  4. Now you can create your custom module type

Modules inheritance

To avoid having to set a module on each page within a section, you can set your pages to inherit it's parent page's modules.

  1. Open your page, and navigate to the Modules tab
  2. Check Inherit Modules and Save your page.
  3. You can apply this inheritance further up the page hierarchy if required.

All versions of modulemanager with dependencies

PHP Build Version
Package Version
Requires silverstripe/cms Version ^4 || ^5
silverstripe/framework Version ^4 || ^5
silverstripe/vendor-plugin Version ^2
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 plasticstudio/modulemanager contains the following files

Loading the files please wait ....