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

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

问题描述

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



我缺少什么?非常感谢!欣赏帮助!



解决方案

应该使用 node - ##。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!

解决方案

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

And don't forget to clear cache.

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

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