How to create front page

  • warning: include() [function.include]: Unable to access /home/drupal_in/drupal.in/themes/engines//includes.php in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include(/home/drupal_in/drupal.in/themes/engines//includes.php) [function.include]: failed to open stream: Success in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include() [function.include]: Unable to access /home/drupal_in/drupal.in/themes/engines//includes.php in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include(/home/drupal_in/drupal.in/themes/engines//includes.php) [function.include]: failed to open stream: Success in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include() [function.include]: Failed opening '/home/drupal_in/drupal.in/themes/engines//includes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
muthuraj's picture

Hi Guys,

I am new to drupal and i need to develop one site using drupal, i dont know how to create a front pages using drupal, for example in need to create home page and all the other inner pages, as of now i have copied bluemarine theme and renamed and enabled it, and i have edited page.tpl.php file to my code but the result is i am seeing the same design for the admin pages also, so can anyone help me to create home page and all the inner pages and the custom header and footer blocks.

I would be thankfull if some could help me to solve this issue.

sidharth_k's picture

Use page-front.tpl.php

Use page-front.tpl.php for making a template file for the Drupal front page.

You can also check out http://drupal.org/node/190815#template-suggestions

Thanks,

Sidharth
Head Instructor & CEO
NoParrots.com Drupal Training
www.noparrots.com

muthuraj's picture

Hi Sidharth, Many thanks for

Hi Sidharth,

Many thanks for your reply, i have created new page-front.tpl.php file in my default theme but i dont know how to call that page, have to specify anything like node/1 in the url.

Thanks,
Muthuraj

sidharth_k's picture

The front page

The front page url is specified in the configuration section in "Site Information".

It is usually set to just /node but you can set it to anything you want.