Skip to Content
Skip to Navigation

Update 2012-01-20

A couple of minor updates today. Two new modules were added, fillpdf and fillpdf_webform_select. They are modules that allow you to fill PDF forms with tokens supplied from CCK fields and Webforms. 

In addition, the sonsite module was updated with a small change to the default User profile page that is supplied in the Nursing build. The logout link previously was hardcoded to /logout, which works fine for sites with masking URLs, but not with those without. The logout link now properly points to the correct logout page with or without a masking URL. Any new sites deployed from here on out will have the correct link, but existing sites will need to have the link updated.

To get the fillpdf and fillpdf_webform_select modules, please do the following:

  1. SSH into your server and run:
    cd ~/public_html/drupal
    svn update
  2. Flush caches:
    drush updatedb

In addition, to update the User profile template, please do the following:

  1. Got to Site building / Panels / Dashboard
  2. Click on the edit link next to the User profile template
  3. Choose Content from the left-hand menu
  4. Find the pane entitled Custom: User info, in the bottom left
  5. Click on the small gear icon in the top right corner of the Custom: User info pane
  6. Choose Edit in the drop down menu
  7. If you have not previously edited this pane, replace the Body field with the following:
    $user = user_load(%user:uid);
    $display_name = !empty($user->profile_displayName) ? $user->profile_displayName : $user->name;
    $base_path = base_path();
      <?php echo($display_name); ?><br />
      Member since: %user:reg-date
      <a href="%user:account-edit">Edit my account</a><br />
      <a href="<?php print $base_path ?>logout">Logout</a>
  8. If you have previously edited this pane, you will need to load the Drupal base_path using the function base_path() and use that in your logout link.