t3brightside / microstart
Microtemplate 示例数据以开始
1.5.1
2024-01-24 09:17 UTC
Requires
README
TYPO3 Microtemplate 示例内容
安装
- 安装 TYPO3 v12
- 通过
composer req t3brightside/microstart
安装 microstart 内容和推荐包 - 将 vendor/t3brightside/microstart/data/fileadmin/ 中的文件夹复制到 public/fileadmin/
- 从 vendor/t3brightside/microstart/data/base.sql.gz 导入数据库
- 后端管理员用户: admin,密码: Admin1234#
- 维护 > 分析数据库结构
- 在 '设置 > 配置安装选项' 中将 'GFX][imagefile_ext]' 和 '[SYS][mediafile_ext]' 中的 'webp' 添加到
- 在 '设置 > 扩展配置 > 页面列表' 中至少启用 '文章' 和 '事件' 页面类型和相应的 '人员作者字段'
- 创建一个站点配置
- 首先更改管理员密码
- 更改 '联系我们' > '发送至接收者' 的地址和名称为您自己的
- 在 'config/sites/your-site-name/confix.xml' 中设置路由增强器以获得漂亮的 URL
routeEnhancers: PaginatedprocessorsByContentId: type: Simple routePath: '/{paginatorId}/{paginationPage}' aspects: paginatorId: type: PaginatedprocessorsContentMapper paginationPage: type: StaticRangeMapper start: '0' end: '999' PaginatedprocessorsByUnigueIdInTs: type: Simple routePath: '/{paginatorId}/{paginationPage}' aspects: paginatorId: type: StaticValueMapper map: files: files gallery: gallery pagelist: pagelist paginationPage: type: StaticRangeMapper start: '0' end: '999' PersonnelVcard: type: Simple routePath: '/{person}' defaults: tag: '' requirements: person: '[1-999]' _arguments: person: person aspects: person: type: StaticRangeMapper start: '1' end: '999' PageTypeSuffix: type: PageType map: vcard.vcf: 888