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 |
Jump to:
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;
}| Attachment | Size |
|---|---|
| before.jpg | 24.74 KB |
| after.jpg | 20.79 KB |

#1
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
Thanks.
Fixed.
#3
My pleasure, thanks for the speedy fixed release.
#4
Automatically closed -- issue fixed for two weeks with no activity.