Developer Forum »
MVC routing issue with newsletters
42 posts

I have a node that utilizes two different templates; one for normal viewing and one for the newsletter module. Webnodes fails to generate the correct URL for fetching the newsletter.

Say I have an MVC template with the settings Default, NewsletterEmail, Index, id. Selecting this template in the content view, will generate the correct URL for normal viewing: www.foo.com/NewsletterEmail/Index/foo. So I know that the template is working correctly. However, if I choose this template in the newsletter module, and a different template in the content view (unknown if the latter is relevant), the newsletter module spits out something in the lines of this:

www.foo.com/?nid=113430&tid=117434&lcid=1044&WAFRespondingEncoding=Unicode

And my route never hits.

Is this an issue with Webnodes or have I done something wrong?

Regards, Emil

181 posts

Hi!

The newsletter module only supports Webforms and regular templates in Webnodes at the moment I'm afraid.  

 

42 posts

Good to know :) Managed to get it working eventually though, using a rather hacky solution.

1