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

    I can confirm that the placeholders don’t work. No time yet to look into it further.
    There also seem to be quite some problems with the paths.
    For instance putting the subscription form on the frontpage will throw an error.
    This is because: <form action="/[[~[[*id]]]]" method="post"> has a forward slash that prevents the post action to have a valid value.

      • 7455
      • 2,204 Posts
      Quote from: onepack at Jan 23, 2011, 02:54 PM

      Hi there,

      I can confirm that the placeholders don’t work. No time yet to look into it further.
      There also seem to be quite some problems with the paths.
      For instance putting the subscription form on the frontpage will throw an error.
      This is because: <form action="/[[~[[*id]]]]" method="post"> has a forward slash that prevents the post action to have a valid value.



      just leave the action empty like this:
      <form action="" method="post">
      


      dimmy
        follow me on twitter: @dimmy01
        • 9995
        • 1,613 Posts
        Don’t get me wrong, it’s very nice to post the code by the builder of this module, but is there anyone else who is able to pick this module up?

        Really hope this will not end up like the Evo Newsletter Mailer sad
          Evolution user, I like the back-end speed and simplicity smiley
          • 16059
          • 22 Posts
          Quote from: onepack at Jan 23, 2011, 02:54 PM

          Hi there,

          I can confirm that the placeholders don’t work. No time yet to look into it further.
          There also seem to be quite some problems with the paths.
          For instance putting the subscription form on the frontpage will throw an error.
          This is because: <form action="/[[~[[*id]]]]" method="post"> has a forward slash that prevents the post action to have a valid value.



          Did you find a solution for the placeholders?
            • 34075 ☆ A M B ☆
            • 130 Posts
            We didn’t know about this topic, so sorry for our (very) late reply. We will ask the MODx team to add an DitsNews forum and Bug tracker area to keep things manageable.

            To get the placeholders to work, you need to add the ditsnewsPlaceholders snippet to the newsletter template: [[!ditsnewsPlaceholders?]] This changes the MODx placeholders to smarty tags. Not an ideal solution, but since placeholders get processed by MODx before we can change them it seems to be the only solution for now.
              Jeroen Kenters

              MODX Professional | MODX Ambassador | Dutch MODX forums moderator

              website | twitter
              • 34075 ☆ A M B ☆
              • 130 Posts
              Quote from: fourroses666 at Jan 15, 2011, 01:37 PM

              There was a message it was planned to send so i guess it will send depending of the cronjob setting.
              Would like to see a test which u can send directly.

              #edit, newsletter was not send over night.
              #edit2 Is my cron set correct? Never used cronjob b4, See attachment!

              You need to add /usr/local/bin/php (or whatever the path to php is) to your cronjob.

              /usr/local/bin/php /path/to/core/components/ditsnews/cron/cron.php
                Jeroen Kenters

                MODX Professional | MODX Ambassador | Dutch MODX forums moderator

                website | twitter
                • 9995
                • 1,613 Posts
                thanx gona change path rite now laugh
                didn’t looked into it anymore.
                  Evolution user, I like the back-end speed and simplicity smiley
                  • 9995
                  • 1,613 Posts
                  When enter 1 by minute field of the cronjob it only sends every first minute of the hour.
                  I thought it would send every minute.
                    Evolution user, I like the back-end speed and simplicity smiley
                    • 34075 ☆ A M B ☆
                    • 130 Posts
                    Quote from: fourroses666 at Feb 01, 2011, 07:25 AM

                    When enter 1 by minute field of the cronjob it only sends every first minute of the hour.
                    I thought it would send every minute.

                    * means every minute
                    */5 means every 5 minutes
                      Jeroen Kenters

                      MODX Professional | MODX Ambassador | Dutch MODX forums moderator

                      website | twitter
                      • 9995
                      • 1,613 Posts
                      Sends a bulk of 50 emails every xxx (setting of cronjob) ?
                        Evolution user, I like the back-end speed and simplicity smiley