Simple template modification of Drupal

zhaozj2021-02-16  69

The template file of the Drupal page is called "theme", like the Windows topic file name, is written directly with PHP, it is more difficult, I am using Drupal's own BLOG to use a relatively simple method .

Install Drupal Site Contributed Theme - PHP Template, unlock files in the default directory is the default template style, you can directly modify the DEFAULT file, or copy the folder to name, then select newly generated in the PHPTemplate console on the website. folder.

The Templates folder of the default directory is put on the page template:

Header.tpl.php, footer.tpl.php is the header of the page, with the content node is separated, that is, the HTML of the Template you wrote from the CONTENT's dot points in these two files. And insert module in the required place

Search box

Navigation bars

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.046, SQL: 9