Is it possible to make your website a Drupal theme?
Theming for Drupal is not actually as hard as you may think. Certainly there are more advanced areas of theming possible with Drupal, which may or may not be necessary depending on the needs of your site or whether there are subtle defaults which you wish to change (and which you can learn about if and when they become necessary for your site).
How to make secondary links appear in Drupal theme?
To make the Primary and Secondary Links menus appear on your site, paste the following into either the top area of your theme (for instance, if your menu is going to be styled as tabs or buttons), or in the sidebar area (for instance if you plan to have your menu show vertically in the sidebar).
Where do I Find my templates in Drupal?
To view these basic templates, look in the /modules/system folder of your Drupal installation (in particular, look at page.tpl.php and node.tpl.php ). The “main” template file in Drupal is called page.tpl.php. Make a copy of your website layout/template and call it page.tpl.php.
Which is the default Links menu in Drupal?
Drupal’s default menu for your site’s content is called Primary Links. There is also a Secondary Links menu which can show related sub-pages under the Primary menu. When stripped of all images and styles, a menu in Drupal is nothing more than a nested unordered list, in plain HTML, with links for each list item.
Where does page.tpl.php file start in Drupal 7?
If you are using Drupal 7, your page.tpl.php file starts after the tag and ends before the tag, so you do not need to worry about the doctype, html, or head tags. If you’d like to override these, copy the html.tpl.php file from your modules/system folder and make whatever changes you’d like.
Which is the main template file in Drupal?
The “main” template file in Drupal is called page.tpl.php. Make a copy of your website layout/template and call it page.tpl.php. Then, simply paste the following bits of code into your layout, in the locations noted (all the code mentioned in this lesson goes in the page.tpl.php file).