manuxi/sulu-archive-bundle
最新稳定版本:v1.5.2
Composer 安装命令:
composer require manuxi/sulu-archive-bundle
包简介
Archive management bundle for Sulu CMS with dimension content support
README 文档
README
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.
✨ 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
- Go to Sulu Admin → Settings → User Roles
- Find the appropriate role
- Enable permissions for "Archives"
- Reload the page
🎣 Usage
Create your first archive entry
- Navigate to Archive in the Sulu admin navigation
- Click on Add archive
- Select an archive type
- Fill in the details (title, text, images, documents)
- Configure author settings (optional)
- Publish your archive entry
🧶 Configuration
Configuration documentation: Settings
📖 Documentation
Detailed documentation in the docs/ directory.
- Archive Types - Configure custom archive types
- Sitemap - Sitemap integration
- Settings - Configuration options
👩🍳 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!
统计信息
- 总下载量: 40
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-28
