Description

This plugin enables you to insert posts (one by one or by a selection on one or several categories) from EasyBlog 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 EasyBLog posts and then click on one of them to include it in your Newsletter.

You can download this plugin if you own one of the paid versions of Acymailing:

Once downloaded, please 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 to display with the article

    • Title only will display the title
    • Intro Only will display the title + everything before the read more link
    • Text will display the title + everything after the read more link
    • Full text will display the title + the entire post
  • You can also select the language you want your posts to be translated to (only if you have FaLang or JoomFish installed)
  • Clickable Title: make your title clickable (so linked to your online version) or not.

  • Author name: Select if you want to display the author's name just after the post's title
  • 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
    • wordwrap: You can specify the max number of characters of the post's content, the plugin will add a readmore button if the text is truncated
    • readmore: If the text is trucated, you can customize the text included in the read more button, for example: {easyblog:1| type:full| link| pict:0| wordwrap:350| readmore:My read more text}
    • |type:link: You can change the parameter "type" value into "link", your tag will only return the post's link
    • forcereadmore: By adding "|forcereadmore", you force the plugin to add the read more button, even if it is not needed

 

Categories

 

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

  • If you have FaLang or JoomFish, you can select the language you want your posts to be translated to, if you don't have FaLang or JoomFish, this option will be used to filter your posts by their attached language
  • Columns: display the posts in one, two or more columns

  • Team Blogs: Filter your posts by team blog
  • Bloggers: You can filter your posts by author
  • 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.

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

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

  • Additional parameters:
    • excludedcats: You can override the Excluded cats from the plugin's configuration by adding this hidden parameter, for example: {autoeasyblog:...some.options.....| excludedcats:1,5,7,8,10}
    • meta: You can filter the posts by their meta tags, for example: {autoeasyblog:...some.options...| meta:joomla,cms,acymailing}
    • access: You can override the Access option from the plugin's configuration by setting this option to "0" or "1"
    • frontpage: If this option is set, the plugin will load only featured posts
    • nofrontpage: If this option is set, the plugin will not load the featured posts
    • start: The plugin will load the results except the X first ones where X is the value you entered

 

Parameters

 

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

    • All articles: AcyMailing will display all your posts

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

  • Itemid: You can set here the Itemid of the menu attached to your posts, it will be used in the links
  • Content access: This parameter enables you to filter the EasyBlog posts loaded by a "category" tag

    • Only public: AcyMailing will only load only public posts

    • All: AcyMailing will load all your posts

  • Max picture height: This is the default resize height
  • Max picture width: This is the default resize width
  • Blocked categories: You can set here the categories you don't want this plugin to load your posts, write the categories id separated by a comma
  • Front-end Access: you can choose to hide the EasyBlog tab on the Front-end with this option

Customize your EasyBlog 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 EasyBLog 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 EasyBLog 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 easyblog.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 : {title}, {intro} or {content}


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

Here is an example:

Show/Hide php code

View source
<div class="acymailing_content">
<a href="{link}" name="easyblog-{id}" target="_blank" >
<h2 class="acymailing_title">{title}</h2>
</a>
{picthtml}
{intro}<br/>
{content}<br/>
{authorname}
</div>

 

Follow us :