Plugin: MosetsTree
Last updated
Last updated
This plugin enables you to insert items (one by one or by a selection on one or several categories) from Mosets Tree in your Newsletter.
You can also use this plugin to automatically include your newly created (or modified) Mosets Tree items in an Auto-newsletter or a Newsletter.
You can search in all your Mosets Tree items and then click on one of the item to include it in your Newsletter.
If you purchased at least one commercial version of AcyMailing, you can download the Mosets Tree plugin on our plugin section then install and publish it like a standard Joomla plugin.
Here is an item included in a newsletter :
You can use this interface to insert any Mosets Tree item in your Newsletter.
Each item can be selected one by one.
Display: select the part of the content you want to display
Title Only: only the title will be inserted
Category View: the element will be inserted using the Mosets Tree category view
Details View: the element will be inserted using the Mosets Tree details view
Display pictures: when creating a Mosets Tree item, you can attach a picture to your item. You can decide to display or not this picture in the Newsletter and resize it.
Clickable Title: make your title clickable (so linked to your online version) or not.
Read More: add a "read more" link at the end of the listing (so linked to your online version)
Truncate the text after...: it will truncate the description, keep "0" or empty if you do not want to truncate it
You can select one or several Mosets Tree categories and AcyMailing will automatically include the Mosets Tree items belonging to the selected categories.
Max. Number of items: The inserted tag will be replaced by a maximum of X Mosets Tree items.
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 Mosets Tree items found is reached.
Order by: order the listings by ID, title, etc...
Columns: display the listings in one, two or more columns
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 Mosets Tree items are added to your Newsletter.
Display listings: This parameter enables you to filter the list of Mosets Tree items in the tag system
All listings: AcyMailing will display all your Mosets Tree items
Only published listings: AcyMailing will only display your published Mosets Tree items
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 Mosets Tree item
Style for the content title will be applied to your content 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 Mosets Tree item is displayed by creating your own template which will be used to render the Mosets Tree item. Please follow those instructions, we don't recommend you to modify the Mosets Tree plugin directly otherwise your changes will be overwritten when you update AcyMailing.
Create a file in the the folder media / com_acymailing / plugins (if the folder does not exists, please create it first). The folder used to be components / com_acymailing / templates / plugins in older versions. The name of the file should be tagmosets_default.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 elementd $content and $varFields (which are the article objects loaded from the database) and the element $tag (which contains the information of the current tag used in your Newsletter)
You can display:
the title of your item: {link_name}
the description of your article: {link_desc}
the url of your article: {link}
Using all those variables, you can create your own content template.
Example: