pipecraft/flarum-ext-id-slug
最新稳定版本:v1.1.0
Composer 安装命令:
composer require pipecraft/flarum-ext-id-slug
包简介
A Flarum extension. Use id as slug in discussion URL.
关键字:
README 文档
README
English | 中文
A Flarum extension. Use id as the slug in the discussion URL.
- AS-IS:
- TO-BE:
Installation
composer require pipecraft/flarum-ext-id-slug
Updating
composer update pipecraft/flarum-ext-id-slug
How to Use
- Install extension
- Enable ID Slug extension
- Basics > Slug Driver(Discussion) > Select id slug driver
⚠️ Notice
- If you are using the sitemap(fof/sitemap) extension, you need to upgrade to v1.0.1 or above. (Use Slug Driver system properly)
v1.1 VS. v1.0
v1.0
- It modifies the slug field of the database directly
- You can use
/d/123and/d/234-hello-worldstyles at same time if you want - Zero configuration
v1.1
- It uses Slug Driver System. You can switch between the default slug style and id slug style at any time without losing slug data
- You can't use
/d/123and/d/234-hello-worldstyles at same time - After enabling this extension, you must switch the slug driver on the Basics page
If you want to use the v1.0 version, install the extension like this
composer require pipecraft/flarum-ext-id-slug:1.0.*
统计信息
- 总下载量: 5.94k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-04