We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27302
    • 154 Posts
    Hi,

    Having only one newsletter, is there à way to have checked by default the checkbox where you choose the newsletter ?

    I’d like to know this as well. I can get the module to work using the default XML file, but it refuses to work if I try and change anything. What is the definitive way to getting a single newsletter working with the sign up form? And also how do I get rid of all the "Example" fields on the default form? If I delete any of them from the XML the sign up procedure doesn’t work.
      • 26548
      • 3 Posts
      Quote from: snieko at Dec 15, 2008, 07:26 AM


      But when I try to send a newsletter the following error appear:

      [tt]Error during sending !
      Some newsletters have not been sent correctly.[/tt]

      The subscribe snippet works fine.


      Since one week I have the same problem.
      Also, the newsletters I sent were not working anymore.
      Before that, everything works correctly.
      I changed nothing on the site.
      Has anyone a solution?

      sebian
        • 34120
        • 236 Posts
        Hi, I’m having trouble getting this installed.
        I’m having problems with step 3. When I copy the contents of txnewsletters.snippet.tpl into the MODx snippet I get the following error:

        Method Not Implemented
        GET to /modx-0.9.6.3/manager/index.php not supported.
        Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

        I’m using the code from page 1 or 2 with the curl patch, I’m on MODx 0.9.6.3.

        Any ideas much appreciated.
        Thanks
          • 28042 ☆ A M B ☆
          • 24,524 Posts
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 34120
            • 236 Posts
            Thanks for the reply sottwell, I’ve looked over that link and tried all of the htaccess solutions and none of them work.
            I’ve spoken to my host and have been told I can’t control filtering as it is a server-wide setting. They also followed up by saying: the question is why is PHP code being sent in this way, as it could potentially be a security hole in the application itself.

            I haven’t tried the ’Include snippet code from filesystem’ solution yet. Are there any disadvantages to using this method?

            (edit: no joy with the include snippet method)

            What are my options here?

            :’(

              • 20546
              • 74 Posts
              I really like TXNewsletters, but I’ve one question.
              Isn’t it possible to personalize the newsletter?
              I want to use the name and some specified database-fields in my newsletter-template.

              For example:
              Dear Mr. {name}

              Thanks for your support.
                • 9130
                • 171 Posts
                Quote from: mt85 at Apr 30, 2009, 04:23 AM

                I really like TXNewsletters, but I’ve one question.
                Isn’t it possible to personalize the newsletter?
                I want to use the name and some specified database-fields in my newsletter-template.

                For example:
                Dear Mr. {name}

                Thanks for your support.
                No, currently there is no way to do this. I actually started thinking of implementing this but have not gotten around to it yet.
                  • 19002
                  • 32 Posts
                  Hey,

                  I’ve got the module working (I can add subscribers), but when I try to preview my newsletter I get a blank page, and it won’t send either (although doesn’t generate an error). Anyone have any insight into why this is happening?

                  thanks.

                  ***OK most of this was fixed when I moved my site to production. However I still can’t get my images to show in the email (even with absolute paths).
                    • 18496
                    • 1 Posts
                    Hi,
                    I have installed TXnewsletters just fine. When i try and send a newsletter though I get the follwing error:

                    Warning: file_get_contents() [function.file-get-contents]: Couldn't resolve host name in /home/mands/public_html/assets/modules/txnewsletters/txnewsletters.inc.php on line 1479
                    
                    Warning: file_get_contents(http://www.xxxxxx.com/index.php?id=48) [function.file-get-contents]: failed to open stream: Permission denied in /home/mands/public_html/assets/modules/txnewsletters/txnewsletters.inc.php on line 1479
                    

                    Any ideas whats causing this?

                    Thanks,
                    Martin

                    UPDATE: I added the url which has modx installed to my HOSTS file on my VPS and it all came horribly right whoohoo! smiley
                      • 9130
                      • 171 Posts
                      Php’s file_get_contents function is often blocked by the server because of security concerns.

                      There is a way a round it using curl instead, see this post:
                      http://modxcms.com/forums/index.php/topic,24195.msg151589.html#msg151589