Forums / General / Checkbox Selection / Comment32817

Author Topic

Siw Helen Thorslund

Monday 09 January 2006 12:26:20 pm

Comment32817

<b>First way:</b>

Use this code to get a link to the pdf for download:

To open pdf in same window:

	{def $attribute=$node.object.data_map.file}
	<a href={$attribute.content.filepath|ezroot()}>{$node.name}</a>

To open a box that will ask where to download pdf to:

	{attribute_view_gui attribute=$node.object.data_map.file icon_size='small' icon_title=$node.name}

<b>Second way:</b>

I would override the products and modify this with checkboxes. Then use the order loop from the shop to collect what files and by who they are downloaded.

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )