OE : create direct link to a file

Author Message

Montel Sébastien

Saturday 14 October 2006 3:07:25 am

Hi,

one question about OE : is it a method to add directly the link to a ressource (a file to download), or is it a necessary method to copy the url like http://mysite/content/download/path_to_file (obtain by edit the File object) and paste it in a new link created in OE ? If we create a link to an object type file, when we click on this link, we view the full view of this object.

Thanks,
Sébastien

Per-Espen Kindblad

Sunday 15 October 2006 1:48:46 pm

This is a good question! For the users of ez publish, this case should be improved. We have to think of a way to make this functionality better, and improve the GUI. Any suggestions on how to do this? The way it works now, it's too much work to create a direct link to uploaded files.

Per-Espen

Bartek Modzelewski

Friday 13 April 2007 3:20:08 am

Has anyone succeeded with this ?

EDIT:

OK, it works for me. I'm inserting object in embed type of view. It's also possible to create custom template for viewing file object by creating override of this file:

design\base\override\templates\embed\file.tpl

Baobaz
http://www.baobaz.com

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