Page 1 of 1
Public Newsletterarchive
Posted: Wed Mar 27, 2013 10:32 am
by dreamy
Hi,
is there a way to publish sended newsletter on a homepage? I looking for a solution to make a public newsletter archive.
Thanks!
Re: Public Newsletterarchive
Posted: Wed Mar 27, 2013 11:08 pm
by maschoff
Trigger action "mailing archive list" on your website with a link like this:
Code: Select all
http://your.domain.com/form.do?agnCI=1&agnFN=archive_form&agnUID=41.1ban.4lg.4j0ox.3ulwv1g1cw
The latter is the encrypted UID of the user whose archive you want to show.
archive_form is the EMM form triggering action "mailing archive list" and should contain Action Script code like this:
Code: Select all
#foreach( $mailing in $archiveListMailingIDs )
<tr>
<td><a href="your.domain.com/form.do?agnCI=1&agnFN=fullview&agnUID=$archiveListUids.get($mailing)">$archiveListNames.get($mailing):</a>
<br>
$archiveListSubjects.get($mailing)
</td>
#end
EMM form fullview has to trigger an action "show archived mailing" first and its content has to be
While I admit the whole process is not that simple, it is quite powerful, nevertheless!
Re: Public Newsletterarchive
Posted: Mon Apr 01, 2013 6:28 pm
by dreamy
Thanks for this great How-To!
Re: Public Newsletterarchive
Posted: Mon Apr 01, 2013 6:53 pm
by maschoff
Thanks for your confirmation of the described solution!
Re: Public Newsletterarchive
Posted: Sat Jan 04, 2014 12:52 pm
by dreamy
I like to improve this a little bit and need help.
The script will display all newsletters, those who are sent and even those who wasn't sent until now. Is theres a IF clause to evaluate if the newsletter was sent?
I put the date of publishing with the DYN-Tag [agnDATE] to each newsletter. For sent newsletter it went ok, but if a newsletter of the past was shown up from the archive the Date will set to the actual date. Is theres a way to prevent or some kind of a replace function to replace the [agnDATE] with the day of sending the newsletter?
Thanks!