DrupalBin
Submit Code
About
Recent Posts
Code
1 hour 49 min
ago
Fix for my user handler
2 hours 12 min
ago
Fix for my user handler
2 hours 15 min
ago
my user handler
4 hours 4 min
ago
more
Tags
CCK
fapi
javascript
jquery
menu
module
Panels
simpletest
template.php
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
node-reference
Fix for Display block on specific node type, and set current node ID as view argument for node reference.
January 6, 2008 - 8:44am — Anonymous
<?php
// Make sure this is a block version of the view, and the current page is a node
if
(
$view
->
build_type
==
'block'
&& arg
(
0
)
==
'node'
&&
is_numeric
(
arg
(
1
)
)
)
{
blocks
CCK
node-reference
views
Read more
Fix for Display block on specific node type, and set current node ID as view argument for node reference.
December 26, 2007 - 6:41am — Anonymous
<?php
// Make sure this is a block version of the view, and the current page is a node
if
(
$view
->
build_type
==
'block'
&&
arg
(
0
)
==
'node'
&&
is_numeric
(
arg
(
1
)
)
)
{
blocks
CCK
node-reference
views
Read more
Display block on specific node type, and set current node ID as view argument for node reference.
November 13, 2007 - 9:37pm —
jGirlyGirl
<?php
// Make sure this is a block version of the view, and the current page is a node
if
(
$view
->
build_type
==
'block'
&& arg
(
0
)
==
'node'
&&
is_numeric
(
arg
(
1
)
)
)
{
blocks
CCK
node-reference
views
Read more