I want to have a front page for my lowest level drupal website directory which gives some general info about the site.

I made a basic index.html and put it in my drupal directory.

Next, under adminsiter\settings\general settings
where it says:

Default front page:
The home page displays content from this relative URL. If you are not using clean URLs, specify the part after "?q=". If unsure, specify "node".

I can't seem to give it a path that will see the index.html file.

Ive tried

www.mypage.com/drupal/indexhtml (with and with out http://)

/mydirectoryonmyhost/public_html/drupal/

public_html/drupal

/drupal

but keep getting the page not found. if i used 'node' it puts up the most recent content and seems fine.

Am I missing the correct way to specificy a path to the front page or does the front page have some special naming or file type characteristics?

Thanks

Comments

GrayThunder’s picture

Check out the front_page module. It will probably do what you want plus some.

psr’s picture

yep tried that but when I activate the module and try to access its settings iget the following error message

Fatal error: Call to undefined function: form_textarea() in /home/myserverdirectory/public_html/drupal/modules/contrib_modules/2nd_contrib_modules/front/front_page.module on line 66

What does this mean? I am running 4.7. Is there anything else that needs to be done to configure this module.

Phillip Mc’s picture

there's a bug in Drupal.org - it's not picking up the latest version of the module as it should.

http://drupal1.osuosl.org/project/front

Just above the "latest version" link (which is wrongly pointing to the 4.6 version of the front_page.module) there is a Drupal 4.7 Version link.

Click on that instead.

Phil

psr’s picture

drupal is so cool

thanks

styro’s picture

which is a good solution for other reasons, your initial problem was that index.html wasn't part of Drupal. The url you put in that field should be an internal Drupal path.

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Example Knowledge Base built using Drupal