[drupal-docs] support for static html handbook page

Anisa mystavash at animecards.org
Tue Mar 22 12:17:37 UTC 2005


OK.  Wrote it up.  Love how productive I can be when I am avoiding 
something more important.  ^.^;

I think it's fair~ly complete, but I write it based on 4.6, which is 
still RC.  If you can let me know what is different in 4.5, I can add 
that.  I know some menu stuff might be different?  I'd like to also 
something about permissions, since that is also a frequently asked 
question, but maybe that can be saved for another page.  :)

Please feel free to correct it or add  to it.

===========================
Adding 'static content' to Drupal
Valid for 4.6

There are different ways to create static pages in Drupal (content that 
you don't want to change, like about pages or faqs) depending on WHAT 
you want the static page to do.

Please note that these instructions are based on the default Drupal menu.

* I want to create a block of text that will stay on the front page 
above all other content.

Option 1: Create a 'mission statement'. 

How to do it:
1) administer >> settings > Mission

Notes: Display of the mission statement varies based on your theme.  If 
you have made your mission statement, but still don't see it on your 
front page, check administer >> themes >> (tab) configure to make sure 
it is toggled for display (near the end of the page).

Option 2: Create 'sticky content'
How to do it:
1) create content >> page
(Don't see this option?  Check to see if 'page' is enabled in your 
module list administer >> modules and try again.)
2) Before you submit the module, make sure the following options are 
checked: Published, Promoted to front page, Sticky at top of lists.

Notes: This doesn't work if you have changed your default home page 
(read further on).  You can also do the same thing with a 'story' page.

*I want to create a static front page with no other modules underneath.

Option 1: Change your default home page (easy way)
How to do it:
1) Create the content you want for your home page.  The most common 
options are a 'story' or a 'page'.  (create content >> page or story).  
Remember the drupal URL (the part after ?q=) for your new content. (want 
more user friendly, easy to remember URLs?  Consider URL aliasing 
LINK=node/3665)

2) administer >> settings > Default front page
Enter in the Drupal URL here.  Make sure you don't enter in the WHOLE 
URL, just the part after ?q=.  Don't forget to 'save configuration' when 
you're done.

Notes: Don't want some side blocks to show up just on this page?  You 
can change where blocks show up by going to administer >> blocks > 
configure (the block you want to change)

Option 2: Consider the contributed module 'front page' (link to project 
page: project/front).

*I want to create static content to be put in a block and displayed on a 
side bar.

How to do it:

1) You can make a block by going to administer >> blocks > (tab) add block.

2) You can configure the block you just made by going to administer >> 
blocks.  Additional options are available by clicking on 'configure'.

* I want to add static pages to my primary or secondary links navigation.

How to do it:

1) Make your content.  Pages are ideal for this.  Remember the Drupal 
URL for this content.
2) Go to administer >> themes >> (tab) configure > primary 
links/secondary links
3) Add the links to your static content using html.

Notes: You can also make links to static content for your side 
navigational menu(s) as well.  Requires the menu module to be enabled.  
Go to administer >> menus >> (tab) add menu item

===============

The end.  ^.^  If this is okay, I can add it as a page, but someone else 
will have to get rid of the old page.

Anisa.
PS: The documentation writing style sheet could be expanded... *hint**hint*




More information about the drupal-docs mailing list