How to show downloadlink to binary file?

How to show downloadlink to binary file?

Friday 05 March 2004 7:08:00 am - 2 replies

Author Message

Björn Dieding@xrow.de

Friday 05 March 2004 7:34:20 am

simple as hell

{section loop=$list}
{attribute_view_gui attribute=$:item.object.data_map.fileattribiutesname}
{/section}

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

javier sanchez

Saturday 06 March 2004 1:50:16 pm

i want to display contents from a table which has 2 fields, each row will be an <option> of the <select>

table = (country | city)

i fetch the db, an array return as result, this array will have field names as keys pointing to arrays of data, my main problem is how i loop elements from an array, with different keys

my code is something like this:
$elements == resulting array from db fetch

<select name="sel">
{section name=seccion loop=$elements}

<option value="{$seccion:item.city}">{$seccion:item.country}</option>

{/section}
</select>

aany help on this topic or in "how to loop an bi-dimensional array with keys" will be great

thx, javier sanchez-galan

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.