我使用devel模块查看“置换符”数据,比如[node:day-count],不知道在模板中如何写才能正确调用到数据?
在drupal模板node.tpl.php中如何调用token字段的值?

登录或注册后发表评论
1个答案
include('/opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php') (Line: 4) require('/opt/www/fdv2/drupal.stage/web/sites/drupal001.net/settings.php') (Line: 145) Drupal\Core\Site\Settings::initialize('/opt/www/fdv2/drupal.stage/web', 'sites/drupal001.net', Object) (Line: 1099) Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 701) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
我使用devel模块查看“置换符”数据,比如[node:day-count],不知道在模板中如何写才能正确调用到数据?