Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Bitte bei allen Downloads-Stellen Variable extension befüllen #8392

Closed
NinaG opened this issue Jul 4, 2016 · 1 comment
Closed

Bitte bei allen Downloads-Stellen Variable extension befüllen #8392

NinaG opened this issue Jul 4, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@NinaG
Copy link

NinaG commented Jul 4, 2016

In den Downloads-Elementen kann man sich mit $file['extension'] die Dateiendung ausgeben lassen. Dadurch kann man z.B. im Template einstellen, dass nicht nur die Größe, sondern eben auch den Dateityp ausgegeben bekommt.

Leider geht das aber beim Datei-Anhang von Nachrichten nicht. Dort wird der Dateityp nirgends separat in die Variablen geschrieben, so dass man ihn nicht mal eben ins Template übertragen kann.

Es wäre schön, wenn Contao sich da an allen Stellen, wo es Downloads gibt, identisch verhält - also überall die Variable "extension" befüllt und akzeptiert.

(in C3.5.x getestet)

@leofeyer
Copy link
Member

Fixed in cf1e67a.

jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Sep 8, 2016
### 4.2.3 (2016-09-06)

 * Do not double URL encode the content syndication links.
 * Use CSS3 transforms instead of transitions to animate the off-canvas navigation.
 * Improve the exception handling when using the resource locator (see #557).
 * Correctly reset the filter menu in parent view.
 * Support all characters but =!<> and whitespace in simple tokens (see contao/core#8436).
 * Check the user's permission when generating links in the picker (see contao/core#8407).
 * Handle forward pages without target in the navigation modules (see contao/core#8377).
 * Provide the same template variables for downloads and enclosures (see contao/core#8392).
 * Handle %n when parsing date formats (see contao/core#8411).
 * Fix the module wizard's accessibility (see contao/core#8391).
 * Correctly initialize TinyMCE in sub-palettes in Firefox (see contao/core#3673).
 * Validate form field names more accurately (see contao/core#8403).
 * Correctly show the ctime, mtime and atime of a folder (see contao/core#8408).
 * Correctly index changed pages (see contao/core#8439).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants