Developed with love by KnpLabs Hire us for your project!
0

SuluArticleBundle

by sulu

SuluArticleBundle

Build Status
Scrutinizer Code Quality
Code Coverage
StyleCI

The SuluArticleBundle adds support for managing articles in Sulu. Articles can be used in a lot of different ways to
manage unstructured data with an own URL in an admin-list. Most of the features, which can be used in pages, can also
be used on articles - like templates, versioning, drafting, publishing and automation.

Additional features included:

  • Build in view-layer with elasticsearch
  • Segmentation of article-templates (called article-types)
  • Define URL schemas per type

Status

This repository will become version 1.0 of SuluArticleBundle. It is under heavy development and currently its APIs
and code are not stable yet (pre 1.0).

Requirements

  • Composer
  • PHP ^5.5 || ^7.0
  • Sulu ^1.5
  • Elasticsearch ^2.2 || ^5.0

For detailed requirements see composer.json.

Documentation

The the Documentation is stored in the
Resources/doc/ folder.

Installation

All the installation instructions are located in the
Documentation.

License

This bundle is under the MIT license. See the complete license in the bundle

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the
Sulu Minimal Edition to allow developers of the bundle to reproduce the issue
by simply cloning it and following some steps.

The MIT License (MIT)

Copyright (c) 2016 Sulu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
sulu_article:
smart_content:
default_limit: 100
content_types:
article:
template: SuluArticleBundle:Template:content-types/article-selection.html.twig
page_tree_route:
template: SuluArticleBundle:Template:content-types/page-tree-route.html.twig
page_route_cascade: request
documents:
article:
view: Sulu\Bundle\ArticleBundle\Document\ArticleViewDocument
article_page:
view: Sulu\Bundle\ArticleBundle\Document\ArticlePageViewObject
types:

# Prototype
name:
translation_key: ~

# Display tab 'all' in list view
display_tab_all: true