Skip to content

A Sulu CMS bundle to manage and display archive items, including Admin UI integration and frontend routing.

License

Notifications You must be signed in to change notification settings

manuxi/SuluArchiveBundle

Repository files navigation

SuluArchiveBundle!

php workflow symfony workflow License: MIT GitHub Tag Github Release Supports Sulu 3.0 or later

🇩🇪 German Version

The SuluArchiveBundle extends Sulu CMS with comprehensive archive management.

It enables the creation and management of archive entries with detailed information, documents, media galleries and multilingual support.

Over 30 customizable archive types allow flexible categorization of historical documents, photos, newspaper articles and more.

Overview

✨ Features

📚 Archive Management

  • Extensive Archive Details - Different templates; Title, subtitle, summary, text, footer/sources
  • Document Management - PDF attachments for downloadable documents
  • Media Integration - Main images and image galleries
  • 30+ Archive Types - Streets, buildings, historical documents, photos, newspaper articles, and more
  • SEO & Excerpt - Full SEO and excerpt management
  • Multilingual - Full translation support
  • Author Management - Assign contacts as archive authors
  • More - Trash, references, sitemaps, teaser, etc.

🔄 Advanced Features

  • Smart Content - Usable as a content block in any Sulu page
  • Teaser Provider - Archives available as teasers
  • Link Provider - Easy linking to archives in text editors
  • Sitemap Integration - Automatic sitemap generation
  • Search Integration - Full-text search in admin and website

📋 Prerequisites

  • PHP 8.2 or higher
  • Sulu CMS 3.0 or higher
  • Symfony 6.2 or higher
  • MySQL 5.7+ / MariaDB 10.2+ / PostgreSQL 11+

👩🏻‍🏭 Installation

Step 1: Install the package

composer require manuxi/sulu-archive-bundle

If you are not using Symfony Flex, add the bundle to config/bundles.php:

return [
    //...
    Manuxi\SuluArchiveBundle\SuluArchiveBundle::class => ['all' => true],
];

Step 2: Configure routes

Add to routes_admin.yaml:

SuluArchiveBundle:
    resource: '@SuluArchiveBundle/Resources/config/routes_admin.yaml'

For website frontend, add to routes_website.yaml:

SuluArchiveBundle:
    resource: '@SuluArchiveBundle/Resources/config/routes_website.yaml'

Step 3: Update the database

# Check what will be created
php bin/console doctrine:schema:update --dump-sql

# Execute migration
php bin/console doctrine:schema:update --force

Step 4: Grant permissions

  1. Go to Sulu Admin → Settings → User Roles
  2. Find the appropriate role
  3. Enable permissions for "Archives"
  4. Reload the page

🎣 Usage

Create your first archive entry

  1. Navigate to Archive in the Sulu admin navigation
  2. Click on Add archive
  3. Select an archive type
  4. Fill in the details (title, text, images, documents)
  5. Configure author settings (optional)
  6. Publish your archive entry

🧶 Configuration

Configuration documentation: Settings

📖 Documentation

Detailed documentation in the docs/ directory.

👩‍🍳 Contributing

Contributions are welcome! Please create issues or pull requests.

📝 License

This bundle is licensed under the MIT License. See LICENSE.

🎉 Credits

Created and maintained by manuxi.

Thanks to the Sulu team for the great CMS and fantastic support!

And thank you for your support and testing!

About

A Sulu CMS bundle to manage and display archive items, including Admin UI integration and frontend routing.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published