Active
Project:
Custom Pagers
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
11 Oct 2010 at 19:51 UTC
Updated:
12 Mar 2011 at 23:11 UTC
I have a custom pager that is set to display on blog node types. When I choose visibility by node type and choose the blog content type, the pager appears fine. I want to write more specific PHP visibility rules and was finding that nothing I tried was working. I simplified my code to see if it was my code or the module, without any luck. This fails to display the pager on blog nodes, so I'm unclear if this feature just doesn't work or if my syntax is incorrect:
<?php
if ($node->type == 'blog') {
return TRUE;
}
else {
return FALSE;
}
?>
I tested this on both 6.x-1.0-beta2 as well as the latest 6.x-dev. Thanks.
Comments
Comment #1
brunorios1 commentedsubscribing