drupal - 如何在 Drupal 的节点页面中使用 token ?

标签 drupal drupal-6

我知道可以使用tokens(token模块)来填充token。

但是对于我的文章(节点类型页面),我如何使用 token 以便我的网站名称等可以自动替换?

最佳答案

查看 Token Filter module 。它将允许您在节点主体字段中使用 token 。

从模块页面:

In the text where you use that input filter you can use substitution tokens with [token global site-name] etc. You can use the global context, the user context and any custom context available. You need to enable the Token Filter for any of your existing filter types first.

有关使用此模块的说明,请参阅 README.txt

关于drupal - 如何在 Drupal 的节点页面中使用 token ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6228506/

相关文章:

drupal - 按名称获取词汇 ID

drupal-6 - Drupal 6 如何防止特定用户的自动密码恢复和重置

Drupal Ubercart : multi-currency?

php - 德鲁帕尔 6 : Make custom function available to different modules

drupal - 如何延迟电子邮件递送?

drupal - 如何避免 Drupal7 View 在启动时显示结果?

php - 允许用户/管理员自行更新内容管理

css - 在 chrome 中显示但在 firefox 中不显示的 View 图像

mysql 连接两个索引需要很长时间!

php - Drupal 主题 - 没有尺寸限制的背景图像