--- categories: [] metadata: slide: - slide_value: 0 node_id: 160 layout: page title: teste created: 1367693029 date: 2013-05-04 aliases: - "/node/160/" - "/page/160/" --- entityCondition('entity_type', 'node') ->propertyCondition('status', 1) ->fieldCondition('field_slide','value', '1', '=') ->execute(); #print 'Nodes!
'; #var_dump($entities); $nodes = node_load_multiple(array_keys($entities['node'])); #print render(node_view_multiple($nodes, 'teaser')); print "
\n"; $slideCtl=""; foreach ($nodes as $node) { $slideCtl = $slideCtl . "
  • \n"; print "
    "; print render(node_view($node, 'teaser')); print "
    "; } print "
    \n
    \n"; ?>