Posted By

jmaties on 04/30/10


Tagged

type drupal comprobar


Versions (?)

Comprobar type


 / Published in: PHP
 

  1. <?php
  2. $node = node_load(arg(1));
  3. if (( $node->field_paquete[0]['value'] == 'Detalles' )or(arg(0)=='bodas')or(arg(0)=='invitaciones')) {
  4. return TRUE;
  5. }
  6. return FALSE;
  7. ?>

Report this snippet  

You need to login to post a comment.