November 01, 2010

Finding new content in Drupal 6

There are (at least) two ways to find content after it has been created in Drupal 6:

1) Search for it using the search bar. Note, this will not always work because the search function only hits indexed content and brand-new content is NOT indexed. I've set it up so that the site is indexed every 15 minutes.

2) Go to Administer > Content Management > Content (admin/content/node) where all content will be listed. Notice the filters on top to help narrow it down.

Posted by kkwaiser at 11:57 AM | Comments (0)

April 08, 2010

Edit Research Site Locations

Editing Research Site Locations

1) Login so you can edit nodes

2) Browse to the research site you want to edit. Click Edit > Location Information

3) Notice Location Name is complete. If this is blank the lat/long information won't be saved

4) Find the site Marker on the Google map. Move it as necessary.

5) Save and view your changes


Notes:
a) For some reason the map interface doesn't center correctly on the point when editing, zoom out to find your point
- I've raised this issue on drupal.org : http://drupal.org/node/765592
b) You can also add an address instead of using the map interface.

Posted by kkwaiser at 09:14 AM | Comments (0)

April 06, 2010

How to create webforms in Drupal

How to create a webform in Drupal.

Version info:
Drupal 6.16
Webform 6.x-2.9


Assumptions:
You've installed the Webform module into sites/all/modules but not enabled it.

Other resources:

Webform Documentation and Project homepage: http://drupal.org/project/webform (notice Documentation tab)


1) Login:
- go to http://blah.lsa.umich.edu/alpha/login
- You can change your password and find other information at the "My Account" link

2) Enable the Webform module (if it's not already):
- Administer > Site Building > Modules
- Find and Check on the Webform box > Save Configuration (at bottom of page)

3) Start a new Webform:
- Create content > Webform (URL: ~node/add/webform)

4) Complete Configuration Section
- Title
- Description
- Confirmation Message
- URL Path settings
- There's a lot more on this first page, ask Kyle or check Documentation for help
- Save and note the URL

5) Add Form Components
- Click on Edit > Form Components (it's tabbed)
- Enter a component name (e.g. First Name)
- Choose a field type (e.g. textfield)
- Is this field Mandatory? Should it be emailed to you (or others)?
- Click Add
- Set further options such as defaults, lengths, etc.
- Click Submit

6) Check your changes by clicking on View

7) Continue adding fields
- Make sure to make note of the different Types

8) Move form from testing environment to production
- Once you form is perfect, I believe we can transfer it to the live site by using this module: http://drupal.org/project/node_clone

Posted by kkwaiser at 03:09 PM | Comments (0)

April 02, 2010

How to enter publications into Drupal's Biblio via DOI

This entry is a guide to entering a publication into Drupal's Biblio module. Note that most Administrative information for the bibliography can be found here at Administer > Site Configuration > Biblio Settings (URL: admin/settings/biblio)

1) Login:
- go to http://blah.umich.edu/alpha/login
- You can change your password and find other information at the "My Account" link

2) Set up DOI import for the bibliography:
- Create Content > Biblio > DOI Lookup
- Click on "You need to register with CrossRef" and complete following page

3) Synchronize your CrossRef information
- Go to My Account > Edit > Biblio Settings > CrossRef Login Information
- Add your email (e.g., kkwaiser@umich.edu) to the Account ID box
- Save

3) Import an publication via a DOI:
- Create Content > Biblio > DOI Lookup
- Enter this DOI: 10.1672/08-41.1 > Click Populate using DOI

4) QA/QC the new publication:
- Authors: Make sure the pre-existing authors have correct name (via auto-complete)
- Person References: These should be the same as the authors. If the name doesn't autocomplete, enter the name and a "person" of that name will be created
- Abstract: Did it import?
- Notes: Anything important to add?
- Custom 1: If UMBS has a hardcopy on file enter the following: Archived copy available at the University of Michigan Biological Station
- Custom 2: Field for research sites associated with this publication. For example: Lake Michigan/Lake Huron/Lake Superior
- Research Site Reference: Should be the same information as Custom 2. If the site doesn't exist it will be created and you may want to go edit the site characteristics (such as location!)
- Custom 3: A list of associated habitats. For example: Northern Hardwoods/Swamp-Hardwood-Conifer
- Keywords: This is an auto-complete field. Please use existing terms wherever possible although it is possible to create new terms if needed.

5) Save or Preview the entry.

Posted by kkwaiser at 12:01 PM | Comments (0)