Page 1 of 1
Fullview and $archiveHtml
Posted: Wed Oct 29, 2008 5:35 pm
by tyuhas
Hi,
We're using 5.5.1 and I've been trying to setup the archive functionality. Following the doc, wiki, and forum searches I've been able to create the actions and forms.
Where I'm having issue is with the Fullview form. According to what I can find, all I the code I need for the Success-form is "$archiveHtml" but I must be doing something wrong since the link only displays "$archiveHtml"
Thanks for any assistance!
Posted: Thu Oct 30, 2008 5:00 pm
by maschoff
Please see section 6.8
and 6.9 of the user manual.
1. The archive link for your newsletter should look like this:
Code: Select all
http://[rdir-domain-name]:8080/form.do?agnCI=1&agnFN=[Archiv-Form-Name]&agnUID=##AGNUID##
The form [Archiv-Form-Name] should look like this:
Code: Select all
<h1>Your personal archive</h1>
<p>Here's a list of all your newsletters:</p>
<ul>
#foreach( $mailing in $archiveListMailingIDs )
<li><a href="/form.do?agnCI=1&agnFN=[fullview]&agnUID=$archiveListUids.get($mailing)"><font color="#BB2233">$archiveListNames.get($mailing)</font></a><br>
$archiveListSubjects.get($mailing)<br></li>
#end
</ul>
Replace [fullview] with the name of your fullview form.
The form needs a preceding action like this:
- Name: archive-list (just an example)
- 1. Step: Mailing-Archive list, Campaign: [your Campaign name]
Make sure that all mailings you want to have listed in your archive are assigned to campaign [your Campaign name].
BTW, thanks to your question we revised the section in the user manual.
Posted: Mon Nov 03, 2008 9:17 pm
by tyuhas
ma wrote:Please see section 6.8
and 6.9 of the user manual.
1. The archive link for your newsletter should look like this:
Code: Select all
http://[rdir-domain-name]:8080/form.do?agnCI=1&agnFN=[Archiv-Form-Name]&agnUID=##AGNUID##
The form [Archiv-Form-Name] should look like this:
Code: Select all
<h1>Your personal archive</h1>
<p>Here's a list of all your newsletters:</p>
<ul>
#foreach( $mailing in $archiveListMailingIDs )
<li><a href="/form.do?agnCI=1&agnFN=[fullview]&agnUID=$archiveListUids.get($mailing)"><font color="#BB2233">$archiveListNames.get($mailing)</font></a><br>
$archiveListSubjects.get($mailing)<br></li>
#end
</ul>
Replace [fullview] with the name of your fullview form.
The form needs a preceding action like this:
- Name: archive-list (just an example)
- 1. Step: Mailing-Archive list, Campaign: [your Campaign name]
Make sure that all mailings you want to have listed in your archive are assigned to campaign [your Campaign name].
BTW, thanks to your question we revised the section in the user manual.
Thanks for the assistance! I was able to get further but was still getting stuck with my fullview form. It turned out in the Action I selected the wrong Step....once I put in "Show archived mailing" everything worked!!
Posted: Mon Nov 03, 2008 10:25 pm
by maschoff
Excellent! In the meantime we posted an updated version of the user manual in the download section of SourceForge.