Skip to content

mfendeksilverstripe/silverstripe-asset-admin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Asset Gallery Field

Build Status Code Quality Code Climate Version License helpfulrobot

Example

/**
 * @return FieldList
 */
public function getCMSFields() {
	$fields = parent::getCMSFields();

	$fields->addFieldToTab(
		'Root.Main',
		$galleryField = new AssetGalleryField(
			$name = 'Files'
		)
	);

	$galleryField->setCurrentPath("my-image-folder"); // relative to assets

	return $fields;
}

Installation

$ composer require silverstripe/asset-admin

You'll also need to run dev/build.

Documentation

See the docs/en folder.

Versioning

This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.

All methods, with public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.

Reporting Issues

Please create an issue for any bugs you've found, or features you're missing.

About

SilverStripe assets gallery for asset management

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.5%
  • PHP 25.8%
  • CSS 5.2%
  • Gherkin 1.5%