Plugin: Form2Content

Description

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

You can also use this plugin to automatically include the newly created elements in an Auto-newsletter.

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

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

Plugin

Single article

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

Each item can be selected one by one.

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

  • Custom Fields: Select the custom fields you want to display

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

  • Read more: Add or not a read more button at the end of the element

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

  • Truncate the text...: Truncate the description or not

  • Additional parameters:

    • itemid: You can specify the itemid used in the links on the title and readmore link

Categories

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

  • Display: You can filter the articles by language

  • Content Type: You can filter the articles by content type with this option

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

  • 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 articles found is reached.

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

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

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

  • Additional parameters:

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

    • nofeatured: If you add |nofeatured in the generated tag, the plugin will insert only non-featured elements

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

    • unpublished: If you add this hidden parameter, Acy will also insert unpublished articles

Parameters

  • Custom template: You can create a custom plugin template using this button

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

    • All content: AcyMailing will display all your items

    • Only published content: AcyMailing will only display your published items

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

Customize your element template

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

You can also modify the way your article 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 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 article's Id: {reference_id}

  • The article's name: {title}

  • The url of your item: {link}

  • The custom fields: {cf|My custom field 1} / {cf|My custom field 2} / etc...

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

<div class="acymailing_content"><h2 class="acymailing_title"><a href="{link}" name="form2content-{reference_id}" target="_blank">{title}</a></h2>{introtext}{cf|My custom field 1}<br />My custom field 2: {cf|My custom field 2}<br />My custom field 3: {cf|My custom field 3}{readmore}</div>

Last updated