Download the PHP package somardesignstudios/silverstripe-contentblocks without Composer

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

Content Blocks

Build Status Scrutinizer Code Quality

Add Content Blocks with different Layouts to pages.

Installation

Composer

composer require somardesignstudios/silverstripe-contentblocks

Manually

Download the archive and extract it into your web root.

Features

This module provides four different Content Block layouts out of the Box.

Column Layout

This Content Block enables a up to 3 columns of content with background colour options. The columns heights are matched with the the jQuery match heights plugin.

Accordion

This Content Block provides basic Bootstrap panel-collapse functionality.

Tile Section

This Content Block provides a landing-page type tile layout. Each Tile can have an image, title, caption and link. Tiles can be displayed in rows of two or three. There is also support for user selected templates.

GridFieldDropdownAddNewButton

TO DO

Case Study

TO DO

Usage

ContentBlockExtension will add a ContentBlocks tab and GridField to all Pages. Each class of Content Block has it's own button to add to the page.

Currently, you can add these to any template by looping over the ContentBlocks and using $RenderBlock

Layout/Page.ss

Future improvements include allowing content blocks to be inserted individually via Shortcodes as well as allowing the creation of a ContentBlock via a Dropdown Field as opposed to individual buttons.

The styling will be basic if not non-existent, this is to allow you full control of the look and feel of the content blocks apart from the Bootstrap bits ofcourse.

Configuration

Base Configuration

include_bootstrap

This module requires Twitter Bootstrap 3 for a number of layouts and components. It is recommended to include Bootstrap in your theme as you will better be able to manage cascading styles however, to get going quickly you can set a configuration flag to include the module's bootstrap library which includes just the CSS needed for the components:

config.yml

types

Specify what types should be able to be created in the GridFieldDropdownAddNewButton. config.yml

Extending

Extension hooks are provided in most appropriate places so you can easily customise the behaviour. If you believe there is one missing, feel free to raise an issue or create a pull request.

Templates

You can override any of the default templates in this module by creating Templates of the same name in your themes folder.

Column Layout

column_classes

You can configure the classes that will be applied to every column with column_classes option.

config.yml

colour_options

You can configure the background colour options using the colour_options option.

config.yml

Accordion

accordion_classes

You can configure the classes that will be applied to all panels with accordion_classes option.

config.yml

Tiles Section

TO DO

Case Study

TO DO

Development

TO DO

TO DO


All versions of silverstripe-contentblocks with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
silverstripe/framework Version ^3.2
silverstripe/cms Version ^3.2
silverstripe-australia/gridfieldextensions Version ^1.1
unclecheese/display-logic Version ^1
sheadawson/silverstripe-linkable Version ^1.3
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 somardesignstudios/silverstripe-contentblocks contains the following files

Loading the files please wait ....