Basic question about node name

Basic question about node name

Friday 08 May 2009 10:02:36 am - 1 reply

Author Message

Pascal France

Friday 08 May 2009 10:28:35 am

I have found a solution:

{def $name=array($node.path_identification_string|explode('/'))}
{$nomavectiret.0.[2]}

path_identification_string = ecouter/claude_nougaro/nougayork_c_est_pout_l_ete
so $nomavectiret contains:

0 	array 	Array(3)
>0 	string 	'ecouter'
>1 	string 	'claude_nougaro'
>2 	string 	'nougayork_c_est_pout_l_ete'

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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.