Hi friends,
I'm a drupal newbie (mean it :)
I have a Block, created with View Module. and this block content has CCK fields. I display any of field with Fields Box in View Module. It's cool.
the issue is, one of the CCK field has a condition value for linking at homepage or not. So I need to get the value of field_homepage_linking CCK field value, and saying
if it is 1, displaying the link for the current record,
if not, just listing the title.
I installed the http://drupal.org/project/views_customfield module, now I can write php in Block View. I tried
$node->field_homepage_linking["0"]["view"]
$node->field_homepage_linking["0"]["value"]
value_get('field_homepage_linking')
but can't get the value! :/ how can I get the value?
Appreciate helps so much!! thanks a lot!!