Setting your site information

Submitted by Marc on Wed, 09/01/2010 - 10:16pm

In my blog entry about the difference between the Page and Story content types I mentioned that one of the differences between the default Page and Story content types is that the Story content type is promoted to the front page. In this entry I will go into more detail about modifying your site's settings.

You get to the settings screen by navigating to admin/settings/site-information.

    Global theme settings

    Submitted by Marc on Wed, 09/01/2010 - 10:10pm

    To get to the global theme settings page, navigate to admin/build/themes/settings/global. As stated at the top of the page

    These options control the default display settings for your entire site, across all themes. Unless they have been overridden by a specific theme, these settings will be used.

    What's the difference between a Page and a Story?

    Submitted by Marc on Wed, 09/01/2010 - 9:42pm

    Drupal creates two default content types when you install it. These are the Page and Story content types. (Note: the default content types are renamed in Drupal 7 and are not created at all if you choose the "minimal" install profile.) The thinking behind these two content types is that a Page is designed to hold information that is long-lived. For instance, you would create your "About Us" page using the Page content type. A Story is designed to be time-sensitive information that will be short-lived. You might create a Press Release using the Story content type.

    Clean URLs

    Submitted by Marc on Wed, 09/01/2010 - 9:16pm

    I make the assumption that virtually everybody enables clean URLs on their Drupal site. In the default setup of Drupal the .htaccess file is already set to handle clean URLs. When you install Drupal, it checks to see if your server will allow this functionality.

    What clean URLs do is to change a URL from something like: http://mydomain.com/index.php?q=name/of/path to this: http://mydomain.com/name/of/path.

    Detailed instructions for building the slideshow

    Submitted by Marc on Sat, 07/03/2010 - 3:41pm
    1. Create an image content type.
      1. Navigate to admin/content/types/add.
      2. Enter the human readable "Name:" Image.
      3. Enter the "Type:" image.
      4. Enter a description.
      5. In the Submission form settings field set, enter a Title field label, Body field label, and the Explanation or submission guidelines as you choose.
      6. In the Workflow settings field set uncheck Promoted to front page.
      7. In the Comment settings field set select the disabled radio button for the Default comment setting field.
      8. Click Save content type.

    Quick outline on my DrupalCamp Colorado presentation on views and views slideshow

    Submitted by Marc on Thu, 07/01/2010 - 10:49pm

    Disclaimer: The intent of this presentation was to give people a quick, brief, and focused introduction to views. I chose to do certain things in certain ways to stick to that intent. Thus, don't consider that this is the only, or even optimal way, of creating a slide show. However, I used almost these exact steps to create the slide show at the top of the front page on http://isaacsonwebdevelopment.com. The only additional things I did were to code some CSS and put some "anchor" tags in the image nodes and text nodes.