We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17499 ☆ A M B ☆
    • 872 Posts
    Can you share the early code soon?

    My work make me play a lot with Extjs and amCharts, i would like to test your code on Revolution when i find some free times.
      • 4310
      • 2,310 Posts
      Here’s what there is so far.
      Should give you what’s in my screen grabs.
        • 17499 ☆ A M B ☆
        • 872 Posts
        Thanks a lot!
          • 20413
          • 2,877 Posts
          Nice, Bunk - You and 2 hot chicks!! --> kiss grin kiss
            @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
            • 26931
            • 2,314 Posts
            anonymized-26931 Reply #15, 17 years ago
            wow - thanks Bunk! smiley
              • 4310
              • 2,310 Posts
              Andreas & Jan it’s only a start grin
                • 26931
                • 2,314 Posts
                anonymized-26931 Reply #17, 17 years ago
                it’s only a start
                i know, i know, but it’s already more of an awesome kickstart laugh

                installed it and it’s displaying everything like it should smiley !
                i get this alert when i access the module though (after clicking "ok" i can access the statistics)
                GoogleAnalytics - Module runtime error:
                An error occurred while loading the module. Please see the event log.
                System Events:
                date() [function.date]: It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Berlin’ for ’CEST/2.0/DST’ instead
                thanks again!

                MODx 1.0.0-RC3
                PHP 5.2.10
                MySQL 5.0.32
                  • 4310
                  • 2,310 Posts
                  That’s an error I got on the live server (not development), it’s a PHP/Server warning, fixed by replacing :
                  global $modx;

                  With =>
                  global $modx;
                  date_default_timezone_set('Europe/Berlin');

                  Or whatever your timezone is, at the top of the module code.
                    • 26931
                    • 2,314 Posts
                    anonymized-26931 Reply #19, 17 years ago
                    it’s a PHP/Server warning, fixed by replacing :
                    that fixed it smiley
                      • 17499 ☆ A M B ☆
                      • 872 Posts
                      I have done a basic integration of Google Analytics within MODx Revolution’s backend.

                      Here is a picture of what it looks like for now.



                      I’ll open a thread in the Revolution’s forum because i have some questions to ask about it.

                      On a side note, i did use another PHP API to access the data that you can find here (the page is in french but the class is commented in english)

                      For those who want to test it, the package for Revolution is available on this topic.