Git Product home page Git Product logo

craft-digitaldownload's Introduction

Digital Download plugin for Craft CMS

Provide secure digital download links to your files.


For complete documentation, see doublesecretagency.com/plugins/digital-download

Display a Link

In its most basic form, you can generate a file download link with just a single line of code...

{{ craft.digitalDownload.link(file) }}

See the full docs on how to display a link...

Create a Token

A token can be generated to denote a specific file download with specific expiration parameters. It's common practice to create a token, then store it for later use.

{% set token = craft.digitalDownload.createToken(file, options) %}

Learn which options are available when creating a token...

Store a Token

Here's a trick for automatically generating tokens. It uses the magic of a Preparse field to store a persistent token in your Entry.

See how to use this with your entries...

Short Download Links

The file download link will mask the actual file location. You have an opportunity to adjust the download link URL...


Anything else?

We've got other plugins too!

Check out the full catalog at doublesecretagency.com/plugins

craft-digitaldownload's People

Contributors

corneliusio avatar lindseydiloreto avatar

Watchers

 avatar

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.