javascript - 全日历插件更改表
问题描述
我有一个小问题。在我的 Cakephp 3.6 项目中,我使用了来自curtisblack2004的CakePHP-Full-Calendar-Plugin 插件。
https://github.com/curtisblack2004/CakePHP-Full-Calendar-Plugin
我安装了插件,一切正常。我想将表的名称从“事件”(在插件中使用)更改为“课程”并彻底改变结构。我在哪里可以这样做?有人能帮我吗 ?也许这是一件微不足道的事情,但我被困住了,我不知道如何继续。
解决方案
As I see in the repository of plugin, you may follow these quick steps:
1- change the tables names in the sql found here 2- change your models/controllers names based on that. example, if your your events tables becomes >lessons>, then in controller folder, EventsController.php should become LessonsController.php. You need to rename Everything related to Events into Lessons, in differents folders.
推荐阅读
- java - 如何使用 SpringBoot 获取不带等号的查询字符串?
- google-cloud-platform - 一个气流任务可以在 Cloud Composer 中的多个工作人员上运行吗?
- javascript - 当我将 Tableau 示例中的 URL 更改为另一个 URL 时,为什么我的代码会中断?
- prometheus-operator - 如何在服务监视器中设置标签,使其出现在 Prometheus 指标中?
- java - 创建 Google Java Checkstyle XML 文件的自定义版本
- css - 将 React-Bootstrap xs,sm,md,lg,xl 跨度/偏移量保存到 css 类中
- javascript - 如何使用 reduce 计算对象中值的总和
- pandas - Pandas 对除选定行之外的所有行进行分组
- php - php页面自己工作,但我无法动态获取带有ajax的php页面结果
- verilog - 如何在 Verilog 中检查一个模块中的值与另一个模块中的值