diff --git a/sites/all/modules/contrib/sharethis/sharethis.module b/sites/all/modules/contrib/sharethis/sharethis.module
index 913b5d3..e1b8622 100644
--- a/sites/all/modules/contrib/sharethis/sharethis.module
+++ b/sites/all/modules/contrib/sharethis/sharethis.module
@@ -269,27 +269,10 @@ function sharethis_node_view($node, $view_mode, $langcode) {
 
   // First get all of the options for the sharethis widget from the database:
   $data_options = get_options_array();
-  
-  // This looks to see if the path variable has been posted by some rewrite module.
-  // This is not super efficient, O(N), but N is often less than 20.
-  $is_path = FALSE;
-  foreach ($node as $k => $v) {
-    if ($k == "path") {
-      $is_path = TRUE;
-    }
-  }
-  // This will choose the path to use.
-  if ($is_path) {
-    $path_module = $node->path;
-  }
-  else {
-    $path_module = "/node/" . $node->nid;
-  }
-  global $base_url;
-  // Get the full path to insert into the Share Buttons.
-  $mPath = $base_url . $path_module;
+
   $mTitle = $node->title;
-  
+  $mPath = url('node/' . $node->nid, array('absolute' => TRUE));
+
   // Only display the ShareThis buttons if this node fits all the requirements
   if (strpos($data_options['nodeType'], $node->type) !== FALSE) { // Make sure this is the right type of node.
     if (($data_options['viewMode'] == "1") && ($view_mode == "teaser")) { // If "don't show for teaser" is enabled, and this is a teaser, don't do anything
@@ -324,7 +307,7 @@ function sharethis_node_view($node, $view_mode, $langcode) {
       // This puts the buttons on the node and adds the necessary scripts.
       // You can change the weight to change whether the buttons are near the top or bottom of the node.
       // Default is at the bottom:
-      $node->content['my_additional_field'] = array(
+      $node->content['sharethis'] = array(
         '#markup' => $st_spans . $st_js, 
         '#weight' => 10
       );
@@ -364,3 +347,32 @@ function sharethis_DB_update($form, &$form_state) {
   echo "<p>" . t("Changes have been successfully saved!") . "</p>";
   
 }
+
+/**
+ * Implements hook_ds_fields_info().
+ */
+function sharethis_ds_fields_info($entity_type) {
+  $fields = array();
+
+  $data = get_options_array();
+  if (isset($data['nodeType'])) {
+    $node_types = explode(',', $data['nodeType']);
+  }
+  if (!empty($node_types)) {
+    $ui_limit = array();
+    foreach ($node_types as $type) {
+      $ui_limit[] = $type . '|*';
+    }
+
+    $fields['node']['sharethis'] = array(
+      'title' => t('ShareThis'),
+      'field_type' => DS_FIELD_TYPE_IGNORE,
+      'ui_limit' => $ui_limit,
+    );
+  }
+
+  // Return fields.
+  if (isset($fields[$entity_type])) {
+    return array($entity_type => $fields[$entity_type]);
+  }
+}
