select

Author Message

Didier Kalulambi

Wednesday 03 November 2010 2:45:02 am

I'll retrieve attribute of a parent class of a selected article
in a select list. here is my code for my fetch:

"

{def $bsps_tts = fetch( 'content','list', hash( 'parent_node_id', 100, 'class_filter_type', 'include', 'class_filter_array', array( 'bsp' ), 'depth', 2, 'limit', 10 ) )}{def $bsps_tts = fetch( 'content','list', hash( 'parent_node_id', 100, 'class_filter_type', 'include', 'class_filter_array', array( 'bsp' ), 'depth', 2, 'limit', 10 ) )}

"
"

<select name="choise_product" > {foreach $bsps_tts as $bsps_tt}<option value="{$bsps_tt.name}">{$bsps_tt.name}</option>{/foreach} </select>

"

please help me

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