plugin: Dj-Classifieds
Last updated
Last updated
This plugin enables you to insert items (one by one or by a selection on one or several categories) from Dj-Classifieds in your Newsletters.
You can also use this plugin to automatically include your newly created items in an Auto-newsletter.
You can search in all your Dj-Classifieds items and then click on one of the items to include it in your Newsletter.
If you purchased at least one commercial version of AcyMailing, you can download this plugin then install and publish it like a standard Joomla plugin.
Here is an example of inserted item:
You can use this interface to insert any Dj-Classifieds item in your Newsletter.
Each item can be selected one by one.
Display: Select the information to display with the item
Custom Fields: You can select the custom fields you want to be displayed with the item. No info will be added if the field's value is empty or if the field isn't applied to the item's category
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 item (so linked to your online version)
Truncate the text after...: It will truncate the item description, keep "0" or empty if you do not want to truncate it
Display pictures: You can decide to display or not the pictures of the item (main picture and description's pictures).
Additional parameters:
itemid: It will add the specified itemid in the links
You can select one or several Dj-Classifieds categories and AcyMailing will automatically include the items belonging to the selected categories.
Max. Number of items: The inserted tag will be replaced by a maximum of X 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 items 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 items are added to your Newsletter.
Order by: order the items by ID, title, etc...
Columns: display the items in one, two or more columns
Display articles: This parameter enables you to filter the list of items in the tag system
All articles: AcyMailing will display all your items
Only published articles: AcyMailing will only display your published items
Set yout itemid: You can set here the default itemid used in the item's links
Front-end Access: You can hide this plugin's tab on the Front-end tag's popup
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 item
Style for the content title will be applied to your item's 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 item is displayed by creating your own template which will be used to render the item. Please follow those instructions, we don't recommend you to modify the 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 djclassifieds.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 item's information), the element $tag (which contains the information of the current tag used in your Newsletter) and $link (the item's link)
You can insert the item's information using this simple syntax : {name}, {link} or {description}
Using all those variables, you can create your own item template.
Here is an example: