Giter Club home page Giter Club logo

formfileuploadextended's Introduction

Contao Extension: FormFileUploadExtended

Provides extended functions for form file upload fields, e.g.

  • prohibits editing of definied form file upload fields in the frontend (for example if a file should upload is mandatory, but should only be done once).
  • resolve uploaded file data in a result page (using insert tags)

Installation

The extension is not published in contao extension repository. Install it manually.

Tracker

https://github.com/cliffparnitzky/FormFileUploadExtended/issues

Compatibility

  • min. version: Contao 2.9.5
  • max. version: Contao 2.11.x

Dependency

  • There are no dependencies to other extensions, that have to be installed.

Inserttags

{{upload::field_name}} ... returns the path to the uploaded file
{{upload::field_name::name}} ... returns the name of the uploaded file
{{upload::field_name::type}} ... returns the filetype of the uploaded file
{{upload::field_name::size}} ... returns the size of the uploaded file in bytes
{{upload::field_name::size::MB}} ... returns the size of the uploaded file in MB (instead using MB, KB or GB is also possible, the size will be rounded by default to 2 decimal places)
{{upload::field_name::size::KB::4}} ... returns the size of the uploaded file in kilobytes rounded to 4 decimal places

formfileuploadextended's People

Contributors

cliffparnitzky avatar

Watchers

 avatar  avatar

formfileuploadextended's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.