Plugin: EZautos

Description

This plugin enables you to insert items (one by one or by a selection on one or several categories) from EZautos 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.

If you own one of our paid versions, 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

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

Categories

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

  • Display: You can filter the items by language on a multilingual site

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

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

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

  • Make: You can filter the inserted items by manufacturer

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

  • Additional parameters:

    • model: If you add |model:205 in the generated tag, the plugin will insert only items with the specified model

    • start: If you add |start:5 in the generated tag, the plugin will insert elements starting by the 5th result

Parameters

  • EZ Autos currency: You can specify the currency that should be used by the plugin

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: {autoid}

  • The item's name: {modelname}

  • The item's manufacturer: {makename}

  • The url of your item: {link}

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-{autoid}" target="_blank">{makename} - {modelname}</a></h2>{picture} {smalldesc}<br />{longdesc}<br />{details}Year: {year}</div>

Last updated