Technical support This forum is closed.
Version 1.x > Technical support > Newsletter -- including a "View Online Version" link View modes: 
User avatar
Guest
norashlea - 9/28/2006 1:02:07 AM
   
Newsletter -- including a "View Online Version" link
I want to include in my Newsletter a "View Online Version" link, but haven't been able to figure out a way to do this without creating a separate html file, uploading it (via ftp) to the server, and then manually adding a link to it into the newsletter issue.

On the Properties for a newsletter issue, there is an editable text-box "URL Path:" I've tried entering both the Alias Path (shown in the Advanced Properties section) and the Name Path (not together!! on separate tests) and then adding a link in the newsletter and navigating to the newsletter issue page in the tree, but the link in the email that is received just goes to a blank site page (ie, like a page that has been created with no content added).

With all the newsletter issues that have been created, navigating to the item in the site tree with Site button on the toolbar active (Content tab) displays the same blank page.

If I do a site search for something that I know is included in a newsletter issue, it is returned in the search results, but clicking the link in the search results also goes to the same blank page.

What am I missing?

Regards,
Sharon.

User avatar
Guest
admin - 9/28/2006 8:51:18 PM
   
Re: Newsletter -- including a "View Online Version" link
Hi Sharon,

if you want to display the newsletter on-line, you need to place the Newsletter container document under some page whose page template will be able to display the newsletter issue data. E.g. you can place a CMSRepeater control on that page and set its SelectNodesClassNames property to "cms.newsletterissue". Of course, you will need to create an appropriate transformation as well.

Best Regards,

User avatar
Guest
norashlea - 9/30/2006 3:14:34 AM
   
Re: Newsletter -- changed to "omit contents from search"
Hi Petr,

Thanks for the details. I've decided to change the way the newsletters are shown online, as the online version shouldn't include the specific formatting that has been used for the emailed version so I don't really need to tackle this now. I've created a folder at the site root level, and then create pages in this folder -- omitted from both the Site Map and Menus -- that contain the newsletter contents.

BUT ...

How do I prevent the contents of the emailed newsletters being returned in a search result?

Searching for a phrase in a newsletter is returning both the emailed newsletter version (which displays the blank page on site) as well as the "Online" version. We want the newsletter contents to be available publically from a search (ie, not in a secured area), but I can't find where I can add a WHERE parameter to exclude an IDPath, eg, "WHERE IDPath NOT LIKE '/5/13/%' (/5/13 is the parent IDPath for the newsletter issues).

Thanks,
Sharon.

User avatar
Guest
admin - 10/10/2006 9:25:16 AM
   
Re: Newsletter -- changed to "omit contents from search"
Hi Sharon,

you may need to use CMSExcludeDocumentsFromSearch and CMSExcludeDocumentTypesFromSearch
parameters in your web.config file.

Best Regards,

User avatar
Guest
norashlea - 10/10/2006 9:37:15 AM
   
Re: Newsletter -- changed to "omit contents from search"
So simple!

Sorry, I should have looked at web.config parameters a bit better. :o)

Regards,
Sharon.