plugin: FLEXIcontent
Last updated
Last updated
This plugin enables you to insert articles (one by one or by a selection on one or several categories) from FLEXIcontent in your Newsletters.
You can also use this plugin to automatically include your newly created (or modified) articles in an Auto-newsletter.
You can search in all your FLEXIcontent articles and then click on one of the them to include it in your Newsletter.
You can download the FLEXIcontent plugin then install and publish it like a standard Joomla plugin.
Here is an example of inserted article:
You can use this interface to insert any FLEXIcontent article in your Newsletter.
Each article can be selected one by one.
Display: select the information to display with the article
Clickable Title: make your title clickable (so linked to your online version) or not.
Truncate the text after...: it will truncate the article description, keep "0" or empty if you do not want to truncate it
Display pictures: you can decide to display or not the article's pictures.
Read More: add a "read more" link at the end of the article (so linked to your online version)
You can select one or several FLEXIcontent categories and AcyMailing will automatically include the articles belonging to the selected categories.
Columns: display the articles in one, two or more columns
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 generates your Smart-Newsletter if the minimum number of articles found is reached.
Order by: order the articles 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 articles are added to your Newsletter.
Additional parameters:
cattitle: This parameter enables you to add the category title for each group of articles. You should order your articles by category ID to group them by category. Example: {autoFLEXIcontent:| displays:title| cols:1| order:catid,ASC| cattitle}
featured: If you add "| featured" in the inserted tag, it will insert only featured articles
nofeatured: If you add "| nofeatured" in the inserted tag, it will exclude the featured articles
mincreated: You can add "| mincreated:2016-11-15 18:32:00" in the inserted tag to exclude all articles created before the specified date. You can also use "| mincreated:[time]-86400" to exclude the articles created before 24h ago (useful when used in a smart-newsletter)
maxcreated: You can add "| maxcreated:2016-11-15 18:32:00" in the inserted tag to exclude all articles created after the specified date. You can also use "| maxcreated:[time]-86400" to exclude the articles created in the 24 previous hours (useful when used in a smart-newsletter)
Display articles: This parameter enables you to filter the list of FLEXIcontent articles in the tag system
All articles: AcyMailing will display all your articles
Only published articles: AcyMailing will only display your published articles
Front-end Access: you can choose to hide the FLEXIcontent tab on the Front-end with this option
Set your Itemid: You can set here the Itemid of the menu attached to your articles, it will be used in the links
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 article
Style for the content title will be applied to your article 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
You can also modify the way your FLEXIcontent article is displayed by creating your own template which will be used to render the article. Please follow those instructions, we don't recommend you to modify the FLEXIcontent 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 flexicontent.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 $allFields (which contains all the product information), the element $tag (which contains the information of the current tag used in your Newsletter) and $link (the article link)
You can insert the article information using this simple syntax : {title}, {introtext} or {fulltext}
Using all those variables, you can create your own template.
Here is an example: