fetch node by node_path

fetch node by node_path

Tuesday 31 May 2005 7:09:59 am - 1 reply

Modified on Tuesday 31 May 2005 7:10:39 am by Olav Bringedal

Author Message

Steve P

Wednesday 01 June 2005 2:24:04 am

Hi Olav

The example explains how to do this:

{* Fetch node number 42. *}
{let node=fetch( 'content', 'node', hash( 'node_id', 42 ) )}
    
    {* Display the name of the node. *}
    {$node.name}

{/let}

You'll need to provide a node you know exists! Let me know how you get on...

Best

Steve

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.