We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13428 ☆ A M B ☆
    • 1,031 Posts
    Don't think that it is MODX version specific.

    You could try to see where it creates the blank page by inserting die('here'); somewhere in the twitx.snippet.php file. If the page shows 'here', the error occurs is after that line.
      • 17705
      • 501 Posts
      Thanks for the tip Jako!

      Tried it... and it is not showing it when the line is after the
      return implode($outputSeparator, $output);
      line... is that ok?

      Tried it before, and it is showing it... :-/
        • 13428 ☆ A M B ☆
        • 1,031 Posts
        Could you change the snippet code to:

        <?php return include (MODX_BASE_PATH . 'assets/snippets/twitx/twitx.snippet.php'); ?>


        Forgot the return. Sorry for that really stupid issue.
          • 17705
          • 501 Posts
          Quote from: Jako at May 29, 2013, 02:50 PM
          Could you change the snippet code to:
          Forgot the return. Sorry for that really stupid issue.

          hehehehe, thanks Jako, now it works
          Or, at least, it shows something! lol

          I have used the same snippet call that your example in #7 (using the obtained 4 twitter codes, of course)... but the output is strange... look:
          http://cbasites.net/test123.html

          I have no idea what is that... maybe I need a special twitter app setup?
            • 13428 ☆ A M B ☆
            • 1,031 Posts
            Copy the PHx modifier from the folder phx_modifier to assets/plugins/phx/modifiers.

            Even if the PHx plugin is not installed, that modifier folder used.

            Date and twitter message is changed by those modifiers.
              • 17705
              • 501 Posts
              Mmm, no, Im not using PHx on that website...
              Should it work then?

              But, anyway... the information provided in the output is odd... is not my user latest tweets... and neither the latest tweets I can see on my TimeLine going to twitter.com...
                • 13428 ☆ A M B ☆
                • 1,031 Posts
                Switch the timeline to user_timeline

                There are four timelines possible according to:
                https://dev.twitter.com/docs/api/1.1


                  • 17705
                  • 501 Posts
                  Oh, I see! did not know that...
                  Now it shows my latest something, but without information... (it shows the avatar, link... no tweet text)

                  It looks like I will need to install PHx? it is required then?

                  [+text:twitx_format+] and [+created_at:strtotime:ago+] are PHx things?
                    • 13428 ☆ A M B ☆
                    • 1,031 Posts
                    No, only the assets/plugins/phx/modifiers folder. Or try the changes on: https://github.com/Jako/TwitX
                      • 17705
                      • 501 Posts
                      Mmmm, something bad in the latest GIT changes?
                      http://cbasites.net/test123.html