plugin: DOCman 2

Description

This plugin enables you to insert files link (one by one or by a selection on one or several categories) from DOCman 2 in your Newsletter.

You can also use this plugin to automatically include your new files in an Auto-newsletter.

You can search in all your files and then click on one of the items to include it in your Newsletter.

You can download this plugin from our download area.

Plugin

Single file

    • You can use this interface to insert any files in your Newsletter.

  • Each item can be selected one by one.

  • Display: Select the information you want to insert in your newsletter

  • Display pictures: You can decide to display or not the pictures in your Newsletter or resize them

  • Clickable Title: make the title clickable (so linked to your online version) or not.

Categories

You can select one or several categories and AcyMailing will automatically include the new files from the selected categories when their starting date is inferior to the maximum starting date you specified.

  • Columns: You can decide to display the documents on one or more columns

  • Order by: order the documents by id, title, etc...

  • Max. number of items: The inserted tag will be replaced by a maximum of X file.

  • Min. number of items: This option will only be displayed if you access this plugin for a Smart-Newsletter. AcyMailing will only generate your Smart-Newsletter if the minimum number of files found is reached.

  • Filter: This option will only be displayed if you access this plugin for a Smart-Newsletter. You can choose to insert only newly created or modified documents.

Parameters

  • Display articles: This parameter enables you to filter the list of DOCman 2 items in the tag system

    • All articles: AcyMailing will display all your DOCman 2 items

    • Only published articles: AcyMailing will only display your published DOCman 2 items

  • Front-end Access: You can limit the access to this plugin on the Front-end

  • Menu ID : ID of the menu attached to the DOCman 2 Component..

Customize your DOCman 2 template

You can change the styles used for the files title and the items area by editing the styles in your AcyMailing template.

You can also modify the way your file is displayed by creating your own template which will be used to render the file. Please follow those instructions, we don't recommend you to modify the DOCman 2 plugin directly otherwise your changes will be overwritten when you update AcyMailing.

Create a file in the the folder media / com_acymailing / plugins (if the folder does not exists, please create it first). The name of the file should be docman.php If this file is available on your server, AcyMailing will use it and won't use the default one.

On this file you can access to the element $article (which is the item object loaded from the DOCman 2 table).

You can display:

  • the Id of the file : {docman_document_id}

  • the name of the file : {title}

  • picture of the article: {img}

  • File creator: {username}

  • Published date: {created_on}

  • Document category: {cattitle}

  • the url of your item: {link}

Using all those variables, you can create your own document template.