Create Content Using the Page Content TypeCreate Content Using the Page Content Type

Getting Started

In this first tutorial you will learn how to create a page, add a link to the page in the primary links menu, and add and format text, links, and images in the body of the page. Assumption: It’s assumed that you are logged in with the administrator account.

Create a Page

Go to: Content management > content > create page. You’ll see this menu at the top of your site. You will see the following options listed below.

Title (required)

The title will display as an H1 tag (large heading) at the top of your page. The title is also known as the headline for your page. It’s important to write an effective headline to inform users what the page is about, to capture their attention and lead them into the rest of your page content.

Page title (optional)

The page title displays at the top of your browser window and plays an important role in how your web page is ranked by search engines. If left blank then the Title field will be used as your page title instead.

Menu settings (optional)

Create a menu link

To show a link to this page in the primary links menu you must enter a menu link title and set the parent item to <Primary links>.

Set the order of a menu link

Weight controls the position that the link will display in the menu. For example if Link A has a weight of 0 and Link B has a weight of -10 then Link B will show to the left of Link A in horizontal menus and above Link A in vertical menus.

You may find it easier to leave all links as a weight of 0 and use Drupal’s drag and drop functionality to position your links.

  1. Go to: Site building > menus > and select the Primary links menu or menu that you wish to edit.
  2. You’ll see an icon to the left of each link that looks like a cross with 4 arrows. Hover your mouse over this icon, click and hold down your left mouse button and then drag the icon to your desired position.
  3. Scroll to the bottom and click save configuration.
  4. If desired you can also edit and delete menu links from this admin page.

Video of creating and re-ordering menu links

Body (required)

Enter your text, links, images, and other content here. By default the “FCK Editor” is enabled for the administrator and editor roles. This editor allows non-technical users to create web content without knowing HTML or programming.

Text formatting notes

Adding and formatting text is pretty straight forward. A couple of notes:

  • Pressing enter will double space. Hold the shift key down when pressing enter to single space.
  • Bullets and numbers – press the bullet or numbers icon once to start your list and press it again to remove the formatting from the last line and start a new paragraph.

Create a link

  1. type and highlight text
  2. click link icon (globe with a chain link)
  3. type link in the url field and click ok

Video of creating a link

Add an image

To add an image:

  1. insert your mouse in the body field > click the browse server button > click upload > click browse > select an image from your computer > click the upload button > click Send to fckeditor
  2. Type a description of the image in the Alternative text field.
  3. Set the width and height
  4. Set the border width of desired. If you leave it blank then no border will show.
  5. HSpace and VSpace puts a margin between the image and any surrounding text. 5 is a sufficient number to use or you can increase/decrease this number as desired.
  6. Align – you can set the alignment such as left, right, etc… If you leave this blank then you can use the alignment buttons within the editor to control the position of the image.

Video of adding an image

Input format (optional)

The input format is set to filtered html for the anonymous user role and full html for the administrator and site editor roles. There is no need to change this format unless you have a different requirement. For security purposes you should never give users the full html input format unless you trust them.

Revision information (optional)

Allows you to save versions of the page with the option to revert back to older versions. To create a revision check the box and add a note with the updates that you made. These notes will show on the revisions page so that you’ll know what version to revert back to. When you save the page you’ll see a Revisions tab beside of the View and Edit tabs. Click this tab and you’ll be able to view and revert to past revisions.

Meta tags (optional)

The meta description displays on the search engine results page and is used to entice users to click and visit your web page. The meta keywords field is no longer used by Google and other search engines so you can ignore this field. It should be removed from the meta tags module in the future.

Comment settings (optional)

Comments are turned off by default for the page content type. You have the option to set the comments to read/write or read only. You should only enable comments for content that you want your visitors to discuss or provide feedback. If you enable comments you will want to restrict commenting to registered users to prevent spam or either install the Re-Captcha module which helps to eliminate automated spam.

URL path settings (optional)

A URL is the link that a user uses to access your website. By default Drupal creates your URL in the format of yoursitename.com/node/#. This format is not very user friendly or search engine friendly so we have enabled the path and path auto modules to generate URL's from your Title. For example, if you create a page with the title of About Us then the URL will be renamed to about-us instead of node/#. If preferred you can uncheck the automatic alias box and type in a custom URL. Be sure to only use letters, numbers, /, -, and _. Do not use spaces, punctuation, or other characters.

Note: Google search engineer Matt Cutts says that it’s better to use dashes instead of underscores when creating your URL’s.

File attachments (optional)

Useful for uploading files such as pdf, doc, excel, etc… Links to uploaded files will display under the body content if the List box is checked. Uncheck the list box if you do not want the file to show. Users will only be able to see the files if their User role has the view uploaded files permission.

Authoring information (optional)

Records the user that created the page and the time the page was created.

Publishing options (required)

By default the Publish box is checked. When you click save, the page will automatically be published live to the website. If you don’t want the page to publish live then uncheck the Publish box. The promoted to front page option will display a teaser or summary on the home page. The "sticky at top of lists" option will keep the summary displayed above other summaries on the home page.