Drupal template naming rules

Source: Internet
Author: User
Tags drupal

Introduction: This is a detailed page of Drupal template naming rules. It introduces PHP, related knowledge, skills, experience, and some PHP source code.

Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 337294 'rolling = 'no'>

Path TPL
/(Homepage)  
  Page-front.tpl.php
Node/%/edit (Edit page)  
  Page-node-edit.tpl.php
  Page-node-story-edit.tpl.php
Node/% (internal page)  
  Node. TPL. php
  Node-story.tpl.php
  Page-node.tpl.php
  Page-node-2.tpl.php
  Page-type-story.tpl.php
User/% (user profile page)  
  Page. TPL. php
  Page-user.tpl.php
  Page-user-1.tpl.php
Taxonomy/Term/% (list page)  
  Node. TPL. php
  Node-story.tpl.php
  (The taxonomy_term of views must be enabled below)
  Node-view-taxonomy_term.tpl.php
  Node-view-taxonomy_term-page.tpl.php
  Page-taxonomy.tpl.php
Any Block  
  Block. TPL. php
  Block-region.tpl.php
  Block-module.tpl.php
  Block-module-delta.tpl.php
Any comment  
  Page-comment.tpl.php
PCP  
  Content-field.tpl.php
  Content-field-fieldname.tpl.php

Love J2EE follow Java Michael Jackson video station JSON online tools

Http://biancheng.dnbcw.info/php/337294.html pageno: 9.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.