Plugin: Remository

Description

This plugin enables you to insert items (one by one or by a selection on one or several categories) from Remository in your Newsletters.

You can also use this plugin to automatically include the newly created items in a smart-newsletter.

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

You will also be able to filter your users based on their Remository group.

You can download this plugin from our download area then install and publish it like a standard Joomla plugin.

Plugin

Single item

You can use this interface to browse and insert any item in your Newsletter.

Each item can be selected one by one.

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

  • Clickable Title: Select if you want to add a link on the title

  • Download: Select if you want to add a download button at the end

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

  • Truncate the text...: You can truncate the item's description

  • Additional parameters:

    • notitle: If you add |notitle in the tag, the title won't be displayed

Categories

You can select one or several categories and AcyMailing will automatically include the new items from the selected categories.

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

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

  • 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 items 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 items.

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

  • Additional parameters:

    • featured: If you add |featured in the tag, the plugin will insert only featured items

    • nofeatured: If you add |nofeatured in the tag, the plugin will not insert the featured items

Filter

With this filter, you can select the AcyMailing users in a specific Remository group.

Parameters

  • Display articles: You can hide the unpublished items from the tags popup

  • Menu ID: The itemid used in the generated links

Customize your element template

By default, the items will be displayed like this in your newsletters:

If you don't like the way it is displayed, you can change the styles used for the item's title and the item's area by editing the styles in your AcyMailing template.

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

Create the custom template as explained here, on the created file you can access to the element $varFields that contains all the needed data.

You can display:

  • The item's Id: {file_id}

  • The item's name: {filetitle}

  • The url of your item: {link}

  • The download link: {linkdownload}

Using all those variables, you can create your own template, for example:

<div class="acymailing_content">
<h2 class="acymailing_title">
<a href="{link}" name="ezautos-{file_id}" target="_blank">{filetitle}</a>
</h2>
<img alt="" src="components/com_remository/images/file_icons/{file_icon}"/>
{smalldesc}<br />
{filedesc}<br />
<a href="{linkdownload}">Click here to download</a>
</div>