Hi,
is there a way to publish sended newsletter on a homepage? I looking for a solution to make a public newsletter archive.
Thanks!
Public Newsletterarchive
Moderator: moderator
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Public Newsletterarchive
Trigger action "mailing archive list" on your website with a link like this:
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:
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!
Code: Select all
http://your.domain.com/form.do?agnCI=1&agnFN=archive_form&agnUID=41.1ban.4lg.4j0ox.3ulwv1g1cw
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
Code: Select all
$archiveHtml
OpenEMM Maintainer
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Public Newsletterarchive
Thanks for your confirmation of the described solution!
OpenEMM Maintainer
Re: Public Newsletterarchive
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!
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!