-
0 votesanswersviews
OctoberCMS columns.yaml VALUE FROM包含多个字段
我在 OctoberCMS 中使用 Builder 插件创建了一个插件,其中我有 columns.yaml 文件 . 在一个名为 property_id 的字段中,我有一个字段 VALUE FROM ,它要求添加我的表的字段名称,因此我添加了一个名为 street_number 的字段 . 但我想在那里连接多个字段 . 像下面的东西 . CONCAT(street_number, ' ', add... -
0 votesanswersviews
将slug添加到用户(RainLab)OctoberCms
是否有可能在用户表中添加一个slug,如果可能的话,怎么做? 我像往常一样尝试这样做,但它不适用于表用户 class User extends Model{ use \October\Rain\Database\Traits\Sluggable; protected $slugs = ['slug' => 'name']; } 我在用户表中添加了slug字段,但它仍然是null 先感谢... -
0 votesanswersviews
OctoberCMS将列表添加到选项卡字段
我想在新标签下为我的用户实现一个列表到后端控制器 . https://ibb.co/fkAWFR(添加标签字段) UsersController::extendFormFields(function($form, $model, $context){ if (!$model instanceof UserModel) return; ...