The functionality that you desire is possible to implement in a similar fashion to the implementation that I posted above. I will walk you through the steps to achieve the functionality of having a single sponsor appear in multiple listers depending on which boxes you check in the blue-facing sponsors module.
To add a custom directory to your site do this: Green > Toolbar > Add Custom > Add 'Default' > Set the Name and Toolbar Title to 'Sponsors', click Add > Navigate to the 'Fields' subtab > Add new > Set 'Field Type' to 'Custom (Attributes)' > set the Label and ID to 'Logo' > Switch 'Input Type' to 'Image' > Click OK > Add another new field > Again, set 'Field Type' to 'Custom (Attributes)', ID and Label to 'Link' > change 'Input type' to ‘Text’
You already got this information in my last post. What you need to do at this point is set up one checkbox for each classification that you are interested in creating. So for example, if you wanted to send a monthly email campaign listing all the local bars and another monthly email campaign listing all the local restaurants, but you have sponsors who are both a bar and a restaurant, you would follow these steps to create the checkboxes:
Add another new field > choose ‘Predefined (miscellaneous)’ > choose unique ID (doesn’t matter which) > set label to ‘restaurant’ > change Input to ‘Checkbox’ > click OK > Repeat previous steps for ‘bar’ (and for each other classification that you want)
At this point the custom directory and all the relevant fields have been created and are waiting for you to populate with the information of the sponsors.
To do so, navigate to Blue > Sponsors > Add new > Give it a name & category (doesn’t matter what it is) > In the 'Logo' field, click Select and choose the image you want for the sponsor through the image manager (you will probably have to upload the images) > in the 'Link' field, type the full url of the sponsor's site (eg http://www.google.com)
Now you have to check each of the checkboxes that applies to the sponsor: If they are a bar, check ‘bar’, and if they are a restaurant, check ‘restaurant’ > click Apply > repeat the previous steps to fill in information for each sponsor
You have now populated the custom directory with all the relevant information about the sponsors that is needed to create a lister with the name, logo, link to the sponsor's website, and the classifications to which they belong. The next step is to set up the custom lister's module layout to display the information from the directory in whatever way you want. You will need to do this:
Green > Layouts > Modules > Under the 'Sponsors (Custom)’ section, copy the [Lister] > The default item layout should look something like this:
<a href="[[detail_url]]" class="directoryListHeadline">[[display_name]]</a>
You will have access to several variables that you created in the directory setup that will enable you to style the lister in any way you want. The main ones are:
[[Link]] - this is the text that you typed into the directory item (http://www.google.com in this example)
[[Logo_X_src]] - X represents different sizes of the image. There are four different sizes. In this example you will probably want either the thumb or small versions
[[name]] - what you entered into the 'Name' field when you created the directory item
[[miscX]] - these fields represent the classifications you gave the sponsors. X is an integer (0, 1, 2, etc...)
When I went through these steps, I ended up with an item layout which looked like this:
<a href="[[Link]]" target='_blank'><img src="[[Logo_thumb_src]]"></a>
The most important thing here is the statement <if [[misc0]]>. In my example, [[misc0]] represents the checkbox for restaurants. Therefore, when you view the lister on your website, only the items which have had their restaurant checkbox checked will be displayed. You will need to copy the lister again to create a lister which only displays the bars (using [[misc1]] in this example), then again for each classification you have. Therefore if you have five different cases in which you would want different potentially overlapping subsets of the Sponsors in an email, you would need five different listers. When I went through these steps on our production stage, I created two sponsors. In one of them I checked only the restaurant box, and in the other I checked both restaurant and bar. After making the two listers I described here, I had a restaurant lister which displayed two sponsors, and a bar lister that displayed one sponsor.
At this point you are ready to insert the lister into the email marketing campaign. This is done in the same way as the previous example, and to do so all you have to do is go to the Email Marketing module, edit the campaign in question, click edit on the HTML Email Content section, then in the wysiwyg, type '[[layout.Sponsors_lister]]' and click save.
You do not need to follow the final step from my previous post of adding a filter to the listers - the filtering process is achieved by the if statement in the lister’s Item layout.
Please let us know if you need any further explanation.