Active
Project:
Content Construction Kit (CCK)
Version:
6.x-3.x-dev
Component:
Panels Integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2011 at 17:19 UTC
Updated:
16 Dec 2011 at 17:19 UTC
I have a panels node page. I'm trying to show a panels pane based on whether or not my link in field_ticks[0][url] has a value set. Using this visibility rule:
if (isset($node->field_ticks[0]['url'])) {
$tick_check = FALSE;
}
return $tick_check;
I want to hide my pane if the field is set. The print_r($node) shows
[field_ticks] => Array
(
[0] => Array
(
[url] =>
[title] =>
[attributes] =>
)
)so url is not set, right? Not being set, the pane should show but it will not. I've been reading for 9 hours. I've tried dozen's of variations and feel like I have a basic grasp on what should be happening (though I'm beginner level with php coding).
Am I writing something incorrect?