Download the PHP package goldfinch/silverstripe-grouped-cms-menu without Composer

On this page you can find all versions of the php package goldfinch/silverstripe-grouped-cms-menu. 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 silverstripe-grouped-cms-menu

SilverStripe Grouped CMS Menu

This module allows you to group CMS menu items into nested lists which expand when hovered over. This is useful when there are so many CMS menu items that screen space becomes an issue.

Previous versions are available through the appropriate branch.

Basic Usage

In order to group CMS menu items together, define your menu groups in a config.yml file.

In the example below, CMSMain (Pages) and AssetAdmin (Files & Images) are grouped together under a "Content" heading.

Sort order

The items in each grouped menu will follow the order you set in your YML. The groups themselves will be inserted in the menu with a priority of 0, with other menu items appearing above or below depending on their existing priority. You can change the priority of a menu group like this:

Or you can "group" items by themselves to make any menu item follow the order you set in your configuration:

When you have larger menus, and/or multiple modules combining to the same menu, this may require something more consistent. In which case, you may sort your grouped menus alphabetically.

Group icons

You can add a CSS class to groups for the purpose of adding an icon. The class name will be prefixed with 'font-icon-'. In the example below the same icon used for the Pages menu item will be used for the Content group:

Translating group labels

A group label may be translated by providing a translation key as below (using the 'Other' group from above as an example)

If the group label has spaces, these will be converted to underscores for the key

Requirements

Project Links

Credits


All versions of silverstripe-grouped-cms-menu with dependencies

PHP Build Version
Package Version
Requires silverstripe/admin Version ^1.3 || ^2.0
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 goldfinch/silverstripe-grouped-cms-menu contains the following files

Loading the files please wait ....