如何在 Drupal 6 中找到模板

How to found template in Drupal 6

如何确定哪个模板负责处理带有此 URL: mysite.com/node/node-number/edit 的页面节点? 我想,Drupal 在这个文件中找到了编辑模板:

page-node-edit.tpl.php
page-node- node-number.tpl.php
page-node.tpl.php
page.tpl.php

Devel 模块提供了一种非常简洁的方法来查找模板文件的建议。对于 Drupal 7(和 8?),此功能已移至单独的模块("Theme Developer"),但对于 D6,我非常确定它包含在 Devel 中:https://www.drupal.org/project/devel

这是一段来自 Lullabot 的视频,展示了如何使用它:https://www.youtube.com/watch?v=0z9FRWPfIOU

顺便说一句:迁移到较新版本的 Drupal 是个好主意。