0

I want to know the insert query when the content is created or any node is created.

What is a simple example for that?

The main purpose of doing this is I want to log the entries when the node is created.

So I have created a history content. When the user creates certain type of content, I have inserted his/her details in to the table by using rules and custom PHP.

It works fine. I can see in the database table but the problem is I can't see the details. When I create a view for the history table, they won't show up.

When I create the history content it displays in the view.

Maybe the inserting into the content have some dependencies, I don't know.

4

1 回答 1

2

Devel 模块可用于查看在 Drupal 页面上执行的查询。

于 2010-01-25T19:45:55.000 回答