| 1 |
jasonm3m |
1.15 |
$Id: README.txt,v 1.14 2007/09/18 14:02:07 jasonm3m Exp $
|
| 2 |
jasonm3m |
1.9 |
|
| 3 |
uwe |
1.1 |
Introduction:
|
| 4 |
|
|
|
| 5 |
jasonm3m |
1.3 |
This module is for people who want a custom front page to their Drupal sites.
|
| 6 |
|
|
|
| 7 |
jasonm3m |
1.15 |
The key functionality of this module is outlined below.
|
| 8 |
jasonm3m |
1.5 |
|
| 9 |
jasonm3m |
1.15 |
If you are comfortable with theming using a mix of php/html, I recommend you check out the
|
| 10 |
|
|
handbook pages I have added to Drupal.org which explains how a more advanced method of theming
|
| 11 |
|
|
your front page. http://drupal.org/node/46017
|
| 12 |
|
|
|
| 13 |
|
|
This module is intended for Drupal Version 5.0
|
| 14 |
|
|
It will not work with earlier versions.
|
| 15 |
jasonm3m |
1.3 |
|
| 16 |
|
|
|
| 17 |
|
|
Key Functionality:
|
| 18 |
|
|
|
| 19 |
jasonm3m |
1.15 |
1. Allows you to specify a custom front page based on role type.
|
| 20 |
|
|
|
| 21 |
|
|
e.g. For a musicians website, you could have a different front page for Drummers, Guitarists, Singers, Bass Players etc.
|
| 22 |
jasonm3m |
1.3 |
|
| 23 |
jasonm3m |
1.11 |
3. Allows you to have a FULL front page or SPLASH page - a completely different layout to your
|
| 24 |
|
|
main drupal site - or alternatively as a THEMED full page, i.e. it loads with your default drupal site theme & layout.
|
| 25 |
jasonm3m |
1.10 |
|
| 26 |
jasonm3m |
1.15 |
4. Automatically REDIRECT users to a specific page or path.
|
| 27 |
jasonm3m |
1.3 |
|
| 28 |
jasonm3m |
1.15 |
5. Disable your site for everyone but Administrators and display a custom "under maintenance" message.
|
| 29 |
jasonm3m |
1.3 |
|
| 30 |
jasonm3m |
1.15 |
6. Display a custom "mission" style message for authenticated users who have not visited the site for a set period.
|
| 31 |
jasonm3m |
1.4 |
|
| 32 |
jasonm3m |
1.15 |
e.g. If you have had a significant update to the site, you might want to have a special notice for users who haven't
|
| 33 |
|
|
visited for 1 month, or 1 week etc.
|
| 34 |
jasonm3m |
1.7 |
|
| 35 |
jasonm3m |
1.15 |
7. Override your HOME and Breadcrumb links on your site.
|
| 36 |
jasonm3m |
1.4 |
|
| 37 |
jasonm3m |
1.15 |
e.g. you might have a splash front page that you don't want visitors already on your site returning to when they
|
| 38 |
|
|
click on HOME.
|
| 39 |
jasonm3m |
1.3 |
|
| 40 |
jasonm3m |
1.15 |
8. You can include PHP/HTML or both in your frontpage
|
| 41 |
jasonm3m |
1.5 |
|
| 42 |
|
|
|
| 43 |
|
|
|
| 44 |
jasonm3m |
1.3 |
Installation:
|
| 45 |
jasonm3m |
1.13 |
---------------
|
| 46 |
jasonm3m |
1.3 |
|
| 47 |
|
|
1. Upload front_page.module to your MODULES folder.
|
| 48 |
|
|
|
| 49 |
|
|
2. Go to the ADMINISTER section of your drupal site.
|
| 50 |
|
|
|
| 51 |
|
|
3. Click on MODULES
|
| 52 |
|
|
|
| 53 |
|
|
4. Enable the front_page.module
|
| 54 |
|
|
|
| 55 |
|
|
5. Go to ADMINISTER - SETTINGS - FRONT_PAGE
|
| 56 |
|
|
|
| 57 |
jasonm3m |
1.11 |
6. Paste in the TEXT/HTML/PHP contents of your front pages.
|
| 58 |
jasonm3m |
1.6 |
|
| 59 |
jasonm3m |
1.15 |
7. Once you are happy with your front_pages, set the DEFAULT FRONT PAGE setting to be front_page.
|
| 60 |
jasonm3m |
1.11 |
You can do this at the bottom of the front_page configuration page (ADMINISTER -> SETTINGS -> FRONT_PAGE)
|
| 61 |
|
|
or under ADMINISTER -> SETTINGS.
|
| 62 |
jasonm3m |
1.13 |
|
| 63 |
|
|
|
| 64 |
jasonm3m |
1.14 |
############################################
|
| 65 |
|
|
IMPORTANT NOTE FOR THOSE USING PATH.MODULE (URL ALIAS):
|
| 66 |
|
|
Please ensure you have no other pages
|
| 67 |
|
|
setup with the URL ALIAS 'front_page' when
|
| 68 |
|
|
installing the front_page.module which uses the
|
| 69 |
|
|
'front_page' URL Alias by default.
|
| 70 |
|
|
##############################################
|
| 71 |
|
|
|
| 72 |
jasonm3m |
1.13 |
|
| 73 |
|
|
Uninstall:
|
| 74 |
|
|
-------------
|
| 75 |
|
|
|
| 76 |
|
|
1. Go to ADMINISTER -> SETTINGS and change the default front page to something other than 'front_page' (e.g. 'node').
|
| 77 |
jasonm3m |
1.7 |
|
| 78 |
jasonm3m |
1.13 |
2. Go to ADMINISTER -> MODULES and de-select the front_page.module from your list of modules.
|
| 79 |
|
|
|
| 80 |
|
|
3. Using FTP or other file manager, remove the front_page.module file.
|
| 81 |
|
|
|
| 82 |
|
|
|
| 83 |
jasonm3m |
1.7 |
Hope you find it useful.
|
| 84 |
|
|
|
| 85 |
jasonm3m |
1.15 |
This module has been developed by a few members of the drupal community and
|
| 86 |
|
|
we're always looking for ideas for improving it.
|
| 87 |
|
|
|
| 88 |
|
|
Email me or post a message on the drupal.org site if you have any ideas on
|
| 89 |
|
|
how we can improve the module.
|
| 90 |
jasonm3m |
1.3 |
|
| 91 |
jasonm3m |
1.5 |
Dublin Drupaller
|
| 92 |
jasonm3m |
1.7 |
|
| 93 |
jasonm3m |
1.3 |
|
| 94 |
jasonm3m |
1.15 |
gus@modernmediamuse.com
|