Drupal 7:使用 Theme Developer 命名节点 [英] Drupal 7: naming node with Theme Developer

查看:37
本文介绍了Drupal 7:使用 Theme Developer 命名节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个 Drupal 7 网站.我需要一个页面的自定义节点,我使用 Theme Developer 模块来查找我在下面附上截图的节点的候选名称.但是当我命名为node__28.tpl.php时它不采取行动

I'm working on a Drupal 7 website. I need a custom node for a page, and I used Theme Developer module to find the candidate name for the node which I attached screenshot below. But it doesn't take action when I name as node__28.tpl.php

我错过了什么?!非常感谢!感谢帮助!

What am I missing?! Thanks a lot! appreciate helps!

推荐答案

它应该与 node--##.tpl.php 一起工作.

It should work with node--##.tpl.php.

不要忘记清除缓存.

这篇关于Drupal 7:使用 Theme Developer 命名节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆