7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-28 16:57:41 +00:00
web-ansol.org/imported-content/_posts/2013-05-04-teste.md

1.1 KiB

categories metadata layout title created date
slide node_id
slide_value
0
160
page teste 1367693029 2013-05-04
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
      " . $slideCtl . "
    \n"; ?>