Functions
is_node_page()
Find out if the current page is a node page.
- Calling parameters
- none
- Return
- TRUE
- if the page is a node,
- FALSE
- if it is another page.
node_load_current()
Grab the current 'active' node. An active node is the one node 123 as shown on page with path node/123, or its aliased path(s).
- Calling parameters
- none
- Return
- $node object if the page is a node, empty $node object if it is not a node, or if we cannot see it, for any valid reason.
Recent comments
34 weeks 5 days ago
34 weeks 5 days ago
44 weeks 5 days ago
45 weeks 15 min ago
45 weeks 3 days ago
49 weeks 14 hours ago
1 year 10 weeks ago
1 year 11 weeks ago
1 year 12 weeks ago
1 year 12 weeks ago