plugin: EasyDiscuss

Description

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

You can also use this plugin to automatically include your newly created (or modified) posts in an Auto-newsletter.

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

If you purchased one of our paid versions of AcyMailing, you can download the EasyDiscuss plugin on our plugins section then install and publish it like a standard Joomla plugin.

Here is an example of inserted post:

Plugin

Single Post

You can use this interface to insert any EasyBlog post in your Newsletter.

Each post can be selected one by one.

  • Display: select the information you want to display in the posts's listing

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

  • Read More: Add a read more button at the end of the post's listing

  • Truncate the text after: Truncate the post's text after X characters

  • Display pictures: you can decide to display or not the post's pictures.

  • Additional parameters:

    • itemid: You can specify the itemid used in the links within the post's listing

Categories

You can select one or several EasyDiscuss categories and AcyMailing will automatically include the posts belonging to the selected categories.

  • Order by: order the posts by ID, title, etc...

  • Columns: display the posts in one, two or more columns

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

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

  • Filter: This option will only be displayed if you access this plugin for a Smart-Newsletter. You can set a rule so that only newly created or modified posts are added to your Newsletter.

Parameters

  • Display posts: This parameter enables you to filter the list of EasyDiscuss posts in the tag system

    • All posts: AcyMailing will display all your posts

    • Only published posts: AcyMailing will only display your published posts

  • Front-end Access: you can choose to hide the EasyDiscuss tab on the Front-end with this option

Customize your EasyDiscuss post template

Customize your post using some CSS

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

Edit the AcyMailing template used for your Newsletter and then set some styles:

  • Style for the content area will be used to encompass your post

  • Style for the content title will be applied to your post title

  • Style for the read more link will be applied to your read more link (if you have one)

  • You can also set the style of all your links using the Link a field

Set styles template

Create your own template

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

Create a file in the the folder media / com_acymailing / plugins (if the folder does not exist, please create it first). The name of the file should be easydiscuss.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 the element $varFields (which contains all the post information), the element $tag (which contains the information of the current tag used in your Newsletter) and $link (the post link)

You can insert the post information using this simple syntax : {post|title}, {post|created} or {post|content}

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

Here is an example:

<div class="acymailing_content"><a href="{link}" name="easydiscuss-{post|id}" target="_blank" ><h2 class="acymailing_title">{post|title}</h2></a>Author: {user|nickname}<br />{post|content}</div>

Last updated