Drupal Provides you lot of option to creat a unique home page or say site front page. This could be achieved by number ways bdefined below.
Firstly Access the /sites/all/theme[active theme], copy a page.tpl.php page and paste it in same directory but you need to rename it as page--front.tpl.php, Now save the file and clear the drupal cache. Drupal will now automatically display the new template `page--front.tpl.php` file as a site's home page
Using views you can easliy ass ign a view page as a site home page. With use og Panels you can easily mmake complex page layout
list of suggestions you can employ to theme various pages in the Drupal system:
page--aggregator.tpl.php /*Aggregator pages. Used for group of pages*/
page--blog.tpl.php /*Blog pages (but not the individual node pages). Used for group of pages*/
page--book.tpl.php /*Book pages (but not the individual node pages). Used for group of pages*/
page--contact.tpl.php /*Contact form (but not the form content). Used for group of pages*/
page--forum.tpl.php /*Forum pages (but not the individual node pages). Used for group of pages*/
page--poll.tpl.php /*Poll pages. Used for group of pages*/
page--user.tpl.php /*User pages (This affects both the user pages and the login pages). Used for group of pages*/
http://www.demosite.com/node/2 /* assigning a specific template to a specific page, we can use page--node--2.tpl.php , this will only affect the node/2 display page*/
page--user.tpl.php /*Will affect entire group of users*/
page--user--%.tpl.php. /*This new template page--user--%.tpl.php will now affect all the individual user pages without affecting the login pages.
page -user--1.tpl. /*Designating a specific template for a specific user, when the user with ID=1 logs into the site, they will be presented with this template*/
0 Comment(s)