jelix / news-module
一个用于显示新闻的简单模块
v2.0.0-rc.2
2024-07-03 21:36 UTC
Requires
- jelix/feeds-module: ~1.7.6
- jelix/wikirenderer-plugin: ~1.7.3
Conflicts
- jelix/jelix: <1.8.0
This package is auto-updated.
Last update: 2024-09-04 07:17:27 UTC
README
这是一个为 Jelix 1.8+ 设计的模块,用于显示新闻列表。还提供了一个管理新闻的admin接口模块。
安装
作为应用程序开发者
像安装其他 Jelix 模块一样手动安装,或者使用 Composer。在您的项目中
composer require "jelix/news-module"
启动应用程序的配置器以启用该模块。
php yourapp/dev.php module:configure news php yourapp/dev.php module:configure news_admin
然后启动安装程序以激活该模块
php yourapp/install/installer.php
作为应用程序用户
获取包,并将新闻目录复制到应用程序的 modules/ 或 extra-modules/ 目录中。
然后在命令行中执行此命令以配置模块
php yourapp/install/configurator.php news php yourapp/install/configurator.php news_admin
然后启动安装程序以激活该模块
php yourapp/install/installer.php