B
B
bismoney2015-03-03 12:42:18
Drupal
bismoney, 2015-03-03 12:42:18

How to check in Drupal Checkbox CCK?

How to check the checkbox for activity?
In the block, check the checkbox in the node.
If the checkbox is checked, then output one, do not put another.
I can't google

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bratushka, 2015-03-04
@bismoney

If you just need to find out the value of this parameter (on the server side), then just do $node->field_field_name['und'][0]['value'] (may differ depending on your settings). Or just do var_dump($node->field_field_name) to find out exactly where to look

U
UksusoFF, 2015-03-03
@UksusoFF

Use dpm (); you will see a lot of interesting things from the devel module .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question