我在查Drupal 7.50。我正在使用实体注册模块,我设置了一个小的教室注册内容,我用它来测试。
我的问题:
发布于 2016-07-27 14:01:19
实体注册在哪里存储注册数据?
查看模块的.install文件,这些数据应该存储在带有名称注册的表中。特别是它的这些列应该接近您要查找的内容:
'count' => array(
'description' => 'How many spaces this registration should use towards the total capacity for this event.',
'type' => 'int',
'not null' => TRUE,
'default' => 1,
),
'user_uid' => array(
'description' => 'The uid of the user associated with this registration.',
'type' => 'int',
'not null' => FALSE,
'default' => 0,
),
'author_uid' => array(
'description' => 'The uid of the user who created this registration.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'state' => array(
'description' => 'The {registration_state}.name of this registration.',
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
'default' => '',
),
'created' => array(
'description' => 'The Unix timestamp when the registration was created.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'updated' => array(
'description' => 'The Unix timestamp when the registration was most recently saved.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,我如何看待收集到的信息?
选项1:只需浏览此表,使用首选的工具即可。
选项2:使用视图模块创建适当的视图,这也是社区文献中的建议,即:“不满意默认的注册列表?没问题,注册及其字段都是友好的视图。您可以覆盖默认的事件注册列表,创建附加的列表,等等”。您可能希望为此启用它的注册_视图子模块。
我怎么删除它?
直接删除上面提到的“注册”表中的相关行可能是直接的。但是,由于它与规则模块的集成,我宁愿使用这个模块(可能与查看批量操作模块相结合)来执行此类删除
https://drupal.stackexchange.com/questions/208389
复制相似问题