Menu Close

How to create a front page template in Drupal?

How to create a front page template in Drupal?

If you want to layout your front page dramatically different from the rest of your site, you can define a whole other template just for that. Creating a front page template is rather simple. In your theme folder (sites/all/themes/), copy the page.tpl.php file from drupal core or your parent theme.

What is the best free Drupal theme?

Skeleton is a simple, free, responsive Drupal theme built on our growing framework “smpl”. This is a great theme for developers to use as a starting point but also provides some nice default styles for using as a basic Drupal theme. Features in this theme Responsive, Mobile-Friendly Drupal Theme based on Skeleton Boilerplate

Is there a Drupal theme for a restaurant or cafe?

Looking for a way to present your cafe, restaurant or food and drinks business on the web effectively? Or maybe you are just looking for a multi-purpose layout to suit another type of online project?Whichever it is, have a look at this premium one-page Italian Restaurant Drupal Theme! Nothing excessive-just clean design and professional featur…

Why are my new Drupal 6 templates not being recognized?

Under Drupal 6, new templates may not always be recognized or used immediately. Visit the admin-themes page and submit once to refresh the themes cache the first time you add the *.tpl.php There are also several module designed to give you advanced control of the page without too much template work, such as Panels or maybe Node Style

What is a Drupal 7 theme?

Theming guide for Drupal 7. A theme is a collection of files that define the presentation layer. You can also create one or more “sub-themes” or variations on a theme. The .info file is a static text file for defining and configuring a theme.

How to override a template in Drupal 7?

You can override these templates in a number of ways. A theme hook suggestion is an alternate template (.tpl.php) file that you have created to override the base or original template file. Theming blocks in Drupal 7 individually, by region, or by module.

How do I change the name of a page in Drupal?

In your theme folder (sites/all/themes/), copy the page.tpl.php file from drupal core or your parent theme. Then rename it accordingly (see below). You probably won’t see the results until you clear your cache; so make sure to do that.

Posted in Lifehacks