7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-27 06:10:19 +00:00
web-ansol.org/content/noticias/2013-05-04-teste.md
2021-10-28 15:52:49 +01:00

1.1 KiB

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