We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29076
    • 615 Posts
    Quote from: Everett at May 28, 2009, 01:50 AM

    atomiccherry, can you explain exactly what you did to get it installed? I really gave it an honest effort and came up empty-handed... thus my previous posts. I know Jako did a ton of work for this thing, so if you can share your knowledge on how to get it "out of the box", then I’d be much obliged.
    Ditto that! smiley
      I think, thererfor I am! But what I am, and why...?
      • 2369
      • 44 Posts
      Hi guys, yeah the instructions threw me off too. I played around with some stuff and finally got it working... mostly. Once you get it working, the Visitors Graph widget still won’t work (I guess due to changes in Piwik’s Visitors Graph widget function calls).

      I’ll do my best to fill in the gaps. Had to retrace my steps since I tried so many different things.

      Here goes...

      Once you have Piwik installed as well as the PiwikX plugin and module successfully added to MODx...

      1) Login to your Piwik stats admin area. Click on Settings in the top right. Click on Users in the tabs. If you haven’t yet created another user (you should see "anonymous" there) create another user. This will be the user info you’ll insert into your PiwikX module configuration settings.

      2) Now click on the Sites tab. You’ll need to add your site to the list if it isn’t there. The URL should be your site’s URL not the Piwik URL. Note the ID. If this is your first site it should default to ID 1. You’ll need that for your PiwikX module config.

      3) Take your new user password and go here: http://md5-hash-online.waraxe.us/ (or something similar)
      Create a hash key and hang on to it.

      4) Return to your MODx PiwikX module config. If you’ve already pasted in the config parameters, they should read something like this:
      URL to your Piwik installation: http://yourdomain.com/piwik
      Piwik Site ID: 1 (or whatever ID was assigned the site you added in Step 2)
      Username to display widgets: NewUser (the user you created in Step 1, not the main Admin login created during Piwik installation)
      MD5 encrypted password: (the hash key you created in Step 3)

      That should be it. If I missed something or you’re still having problems, please let me know.
        • 9207 ☆ A M B ☆
        • 2,475 Posts
        lol... dude, slow down! There are like 4 or 5 steps we’re not getting before you get to #1 of your list!

        I added the plugin, I added the module... nothing happened. What did I do wrong? How did you configure your module? See my previous LONG posts about the exact nature of the confusion.
          • 2369
          • 44 Posts
          Hi Everett,

          Sorry, man, guess I jumped ahead a bit. LOL. I’d read your previous posts but wasn’t quite sure what steps you had already taken. It appears you’ve already successfully installed the PiwikX module and plugin. For the plugin, under System Events, you’ve selected OnParseDocument. The configuration of the module itself is based on the information I provided in my previous post.

          Once you’ve successfully installed Piwik (not PiwikX MODx module, but the actual stats app -- http://piwik.org/) on your server, login and create a User under Settings. Then the steps outlined in my other post will come into play.

          If I’m still missing something let me know.
            • 9207 ☆ A M B ☆
            • 2,475 Posts
            Ah... maybe that’s where I was going wrong all along. I didn’t realize that I had to install the piwik software separately. I’ll give that a try...
              • 2369
              • 44 Posts
              Quote from: Everett at May 29, 2009, 01:56 PM

              Ah... maybe that’s where I was going wrong all along. I didn’t realize that I had to install the piwik software separately. I’ll give that a try...

              Cool, let me know how it works out for you!
                • 20413
                • 2,877 Posts
                This is awesome!!!!! Cant wait to test it out!!!! shocked
                  @hawproductions | http://mrhaw.com/

                  Infograph: MODX Advanced Install in 7 steps:
                  http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                  Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                  http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                  • 8790
                  • 526 Posts
                  hi,

                  Thank you for this nice contribution.


                  I just test Piwik with PiwikX

                  I’m facing the same issues as described here with the "Last visited section" .

                  But, only your first solution is working for me (index into
                  'action'   => 'index',

                  the other suggestion
                  getEvolutionGraph
                  (page 2 of this thread) returns another error

                  But the main issue looks like being the fact the plugin does not seems to do something. I just cant see any special Piwik Tag inserted dynamically into my pages html’s.

                  If I put into my template the piece of code that Piwik installation gave me at the end, then stats starts running right.

                  So I’m asking myself : there’s no configuration param for the plugin (only for module) is this normal ?

                  [EDIT]
                  I did not saw I had also to "import shared parameter from module" - as I did this part from the module point of view - Was quit confusing to me...

                  Seems now to be all right

                  Thank you
                    Schtroumpf Grognon - Grouchy Smurf
                    ---------------------------------
                    Faites pas attention.. - Don't pay attention
                    http://www.dzi-neo.net
                    • 13428 ☆ A M B ☆
                    • 1,031 Posts
                    A quick fix for the last visits graph:

                    $piwikWidgets ['LastVisitsGraph'] = array (
                        'position' => 'left',
                        'title'    => 'Last visits graph',
                        'height'   => '200',
                        'module'   => 'VisitsSummary',
                        'action'   => 'getEvolutionGraph&columns[]=nb_visits',
                        'period'   => 'day', 
                        'date'     => 'today' );


                    Sorry for the delay, but me and my family were moving to a new home during the last three months and the things aren’t finished yet. I will work on the next version of PiwikX in august.
                      • 16702 ☆ A M B ☆
                      • 536 Posts
                      i have this error for "Last visits graph":

                      The parameter ’columns’ isn’t set in the Request, and a default value wasn’t provided.

                      and other questions is how add another columns? for example "visitors browser", "external sites" or more...from PIWIK API?

                      10x
                        palma non sine pulvere