"Link this field to its node" field option
gpk - September 17, 2009 - 07:51
| Project: | Views Custom Field |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
is missing, would be a useful addition to a great module!

#1
Im looking for this too...
I use this codes:
<a target="_blank" href="<?php print $data->node_link ?>"><?php print $data->node_title ?>
</a>
...but the
<?php print $data->node_link ?>is not works...I have no idea how to link to the node.. and I need it open in new window
#2
why the title changed? try to change it back..
#3
Try following:
Add Node: Nid before custom field and exclude it from display.
Use this code in php customfield
<a target="_blank" href="<?php print '/node/' . $data->nid ?>"><?php print $data->node_title ?>
</a>
#4
thanks for the reply..
but the
target="_blank"not works. Its open in same windowWhen using only
<?php print '/node/' . $data->nid ?>, it will show the same result