How to Display Body Field in TPL

If you run a Drupal theme on your website, you have a set of TPL files sitting on your servers. TPL files controls different aspects of the theme, coded in PHP. They tend to be divided according to two fields: article and body. To display the body field of a TPL file, you must first find the file and then open it correctly. The body field will then appear for you to edit.

Instructions

    • 1

      Log into your Drupal account.

    • 2

      Click “Administer,” “Site configuration” and then “File system.”

    • 3

      Open the “public_html” or “root” folder. You have one or the other.

    • 4

      Click the file named “field--body.tpl.php” once.

    • 5

      Click “Edit.” This displays the body field of the TPL file.

Related Searches:

References

Comments

Related Ads

Featured