How to setup Core Design Downloader plugin? Print E-mail
(15 votes)

 

1. Plugin is available for Joomla! 1.5 and require Core Design Scriptegrator plugin.

 

The default notation

To create your download box use the following string:

{downloader mode="your-mode" file="file-name"}

  1. Password protection

    To create a download box with the password protection use the notation bellow.

    Default pattern:
    {downloader mode="password" password="your-password" file="file-name"}
    
    Example:
    {downloader mode="password" password="k8a2b-b422-8788" file="secret_document.zip"}

  1. Level protection

    To create a download box with the level protection use the notation bellow.

    Default pattern:
    {downloader mode="level" level="joomla-level" file="file-name"}
    
    Examples:
    {downloader mode="level" level="registered" file="secret_image.jpg"}
    {downloader mode="level" level="registered:editor" file="my_tutorial.pdf"}

    Note: You can use the multiple user levels, separated with ":" (semicolon).

Additional info:

The default settings in plugin configuration can be overwritten by the settings specified by each "{ downloader... }" string. The allowed settings:

  • mode. Mode for the download the file.
    • mode="password"
      Note: Don't forget to enter your password - see examples.
    • mode="level".
      Note: Don't forget to enter your user levels - see examples.
  • message. The information message to your users display above download form.
    • message="This is my message about file."
  • note. Note for the file display into information panel.
    • note="The downloaded file include the more other files."
  • limit. Download limit per user. This option is valid only for "level" mode.
    • limit="10"
    • limit="5"
  • float. Box float. The allowed values are "left", "right" and "none".
    • float="left"
    • float="right"
    • float="none"
    Note: In case you define "float" you must define the width too (CSS rules).
  • width. Download box width. The allowed units are px, % and em.
    • width= "300px"
    • width="10em"
    • width="80%"

Examples

{downloader mode="level" level="author" width="300px" file="my_music.rar"}

{downloader mode="password" password="my_top_secret_word" file="holiday_photos.zip"}

{downloader mode="level" level="registered:publisher" file="folder01/folder02/folder03/manual.pdf"}

{downloader mode="level" level="registered" file="my-private-document.pdf" message="Please read the content bevore download this file."}

{downloader mode="level" level="author" file="my-private-document.pdf" limit="5"}

{downloader mode="password" password="private-pass" file="my_images.zip" note="This file is protected, you must enter the password to download this file."}

{downloader mode="password" password="jffí907lsdf9" file="simple_document.doc" float="right" width="500px"}