Closed (fixed)
Project:
Panels
Version:
5.x-2.0-beta5
Component:
Panel pages
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2008 at 11:56 UTC
Updated:
20 Aug 2008 at 13:18 UTC
i created a "New custom content" on a node_override
in this "New custom content" i want to insert some phpcode.
somehow $node->nid doesn´t work.
Does anybody know why?
greetings
jonas
Comments
Comment #1
fluxline commentedif you are passing the node id in through the url, make sure you have 'Node ID' selected as one of the arguments on the 'context' tab when setting up the panel. you can then access it using arg(1) or whatever index value that it is in the url.
Comment #2
jonas28 commentedarg(1) works!
thanx
jonas