diff --git a/slidebox.module b/slidebox.module
index 2a72c18..10045a1 100644
--- a/slidebox.module
+++ b/slidebox.module
@@ -51,12 +51,16 @@ function slidebox_theme($existing, $type, $theme, $path) {
  * Implementation of hook_node_view()
  */
 function slidebox_node_view($node, $view_mode, $langcode) {
-  if ($view_mode == 'full' && node_is_page($node) && slidebox_data($node) && in_array($node->type, variable_get('slidebox_content_types', array()))) {
+  $node_details = slidebox_data($node, $view_mode);
 
+  // See if any other module wants to alter or erase $node_details
+  drupal_alter('slidebox_data', $node_details, $view_mode);
+
+  if(!empty($node_details['nid'])) {
     drupal_add_js(array('slidebox' => slidebox_js_settings()), "setting");
 
     $node->content['slidebox'] = array(
-      '#markup' => theme('slidebox_field', slidebox_data($node)),
+      '#markup' => theme('slidebox_field', $node_details),
       '#weight' => 99,
     );
     $node->content['slidebox_trigger'] = array(
@@ -81,12 +85,14 @@ function slidebox_init() {
  * Return data for slide box
  * @TODO Add support for entities
  */
-function slidebox_data($node) {
+function slidebox_data($node, $view_mode) {
+  if ($view_mode != 'full' || !node_is_page($node) || !in_array($node->type, variable_get('slidebox_content_types'))) {
+    return FALSE;
+  }
   $result = db_query("SELECT nid, title FROM {node} WHERE created < :created AND type = :type AND status = :status ORDER BY created DESC LIMIT 1",
                      array(':created' => $node->created, ':type' => $node->type, ':status' => 1));
 
-  $next = $result->fetchAssoc();
-  return $next;
+  return is_object($result) ? $result->fetchAssoc() : FALSE;
 }
 
 /**
diff --git a/slidebox.tpl.php b/slidebox.tpl.php
index ea49386..2bf6365 100644
--- a/slidebox.tpl.php
+++ b/slidebox.tpl.php
@@ -2,7 +2,7 @@
   <a class="close"></a>
   <p>Next post</p>
   <h2><?php echo $title; ?></h2>
-  <?php echo l("Read More &raquo;", "node/{$nid}", array('html' => TRUE, 'attributes' => array('class' => 'more'))); ?>
+  <?php echo l("Read More &raquo;", "node/{$nid}", array('html' => TRUE, 'attributes' => array('class' => array('more')))); ?>
 </div>
 <div id="slidebox_manual">
   <a class="open"></a>
