Fix for display of clicks in Drupal 6.4 (6.x-1.x-dev)

tseven - September 13, 2008 - 21:48
Project:Click Thru Tracking
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:tseven
Status:closed
Description

When viewing the click results of a node, the entire page was shown. See attached screen captures.

Find the code in click.module (line 143):

    $output .= $group . theme('table', array(), $rows);
  }
  return theme('page', $output);
}

and replace with

    $output .= $group . theme('table', array(), $rows);
  }
  return $output;
}

AttachmentSize
before.jpg24.74 KB
after.jpg20.79 KB

#1

tseven - September 13, 2008 - 22:15

Here is the fix for the Click report:

Find this in click.module (line 176):

    $rows[] = array(array('data' => $pager, 'colspan' => '4'));
  }

  return theme('page', theme('table', $header, $rows), t('Click Thru Report'));
}

and replace with this:

    $rows[] = array(array('data' => $pager, 'colspan' => '4'));
  }

  return theme('table', $header, $rows, t('Click Thru Report'));
}

#2

kbahey - September 14, 2008 - 00:10
Status:patch (to be ported)» fixed

Thanks.

Fixed.

#3

tseven - September 14, 2008 - 20:33

My pleasure, thanks for the speedy fixed release.

#4

Anonymous (not verified) - September 28, 2008 - 20:42
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.