Download the PHP package dynamic/silverstripe-carousel without Composer

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

Silverstripe Carousel

A versatile carousel module for Silverstripe websites, featuring support for images and videos. The default template utilizes Bootstrap classes for seamless integration.

CI
Latest Stable Version
Total Downloads
License

Table of Contents

Requirements

Installation

Install via Composer:

Run a dev/build to regenerate the manifest:

Configuration

Apply the CarouselPageExtension to your desired page types in your YAML configuration:

After applying the extension, run a dev/build to update the database schema.

Usage

Adding a Carousel to a Page

To display the carousel, include the following template in your page layout:

Ensure that your template has access to the $Carousel variable, which contains the carousel data.

Working with Images and Videos

The module supports two types of content:

To add these:

  1. In the CMS, navigate to the page where you've enabled the carousel.
  2. Click on the "Carousel" tab.
  3. Use the "Add Slide" button to add either an Image or Video.
  4. For Images:
    • Upload or select an image from the files.
    • Optionally, add a caption or link.
  5. For Videos:
    • Provide the video URL (supports platforms like YouTube and Vimeo).
    • Optionally, add a caption.

Repeat these steps to add multiple images or videos as needed.

Customization

Creating Custom Templates

If you're not using Bootstrap or wish to customize the carousel's appearance:

  1. Locate the Default Template
    The default template is located at:

  2. Copy to Your Theme
    Copy the Carousel.ss file to your theme’s directory, maintaining the folder structure:

  3. Modify the Template
    Edit the copied Carousel.ss to fit your design requirements. You can:

    • Change the HTML structure
    • Update CSS classes
    • Add or remove elements as needed
  4. Include Necessary Assets
    Ensure that any required JavaScript or CSS for your custom carousel implementation is included in your project.
    If you're using a different frontend framework, include its assets accordingly.

For more information on custom templates, refer to the Silverstripe CMS Documentation.

Other Modules Using Silverstripe Carousel

The Silverstripe Carousel module is used in other projects to extend functionality, such as:

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue, please review existing issues to ensure yours is unique.

If the issue appears to be new:

Security Issues:
Please report security issues to the module maintainers directly. Avoid filing security issues in the bugtracker.

Development and Contribution

We welcome contributions! Please ensure you raise a pull request and discuss with the module maintainers.

License

This module is licensed under the BSD-3-Clause License. See the LICENSE file for details.


All versions of silverstripe-carousel with dependencies

PHP Build Version
Package Version
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 dynamic/silverstripe-carousel contains the following files

Loading the files please wait ....