We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3186 ☆ A M B ☆
    • 279 Posts
    Wow this is a ’simple’ wonderfull output tv!

    Any idea to create dynamic from-address in redirection mode? So a visitor can enter their address to plan the route to the ’site-owners location’

    Thnx already!
      MODX Ambassador (NL) & Professional MODX developer
      Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
      MODX e-commerce solution SimpleCart
      • 20178
      • 82 Posts
      yeah agreed works really well and easily, however doesn’t appear to work for internet explorer?
        • 23241
        • 4 Posts
        After installing this, I have no idea how to use this. Documentation is nowhere to be found...
          • 10327
          • 10 Posts
          Yes the documentation is lacking. Not everybody is a super leet modx coder but great offering regardless.

          I notice explorer doesnt like it.
          Will have to find a directions to location alternative for now. Until Im smart enough to help out.
          HAHA

          thanks for efforts
          smiley
            • 22930
            • 5 Posts
            Hi All

            Is there any documentation to go with GoogleMapsTV?

            I can’t even get the map to show sad

              • 12584
              • 208 Posts
              can anyone post the bare minimum to get this working like the hello world for googlemapstv.

              In evo I used this http://modx.com/extras/package/googlemap which has instuctions on how to get it working but as far as I can tell in Revo the replacement is this http://modx.com/extras/package/googlemapstv and I dont have the know how to make it work.

              So if any one can post the bare minimum to get me up and running that would be very useful.

              Many thanks
                • 12584
                • 208 Posts
                Quote from: ian_m at Mar 13, 2011, 05:13 PM

                can anyone post the bare minimum to get this working like the hello world for googlemapstv.

                In evo I used this http://modx.com/extras/package/googlemap which has instuctions on how to get it working but as far as I can tell in Revo the replacement is this http://modx.com/extras/package/googlemapstv and I dont have the know how to make it work.

                So if any one can post the bare minimum to get me up and running that would be very useful.

                Many thanks

                Well I tried this demo call maybe I am missing something no output at all

                [[*GoogleMapsTV? &key=`ABQIAAAMyKeyHere` &maps=`mapid : map | 
                address1 : Unit 3 Cygnet Park | address2 : Phorpress Way | city : 
                Peterborough | state : Cambs | zip : PE7 8FQ | title : Tile Library | 
                width : 400  | height : 400 | zoom : 9 || mapid : map2 | address1 : 5 
                Trafalgar Court | city : Brighton | state : East Sussex | zip : BN1 4FB |
                 title : Hallmarkdesign | width : 600 | height : 300 | control : large |
                 typecontrol : 1 | zoom : 12 | type : hybrid `]]
                  • 36575
                  • 104 Posts
                  Hey, did anyone ever get this to work?

                  I am in the same position. Can’t find any documentation, have no idea how to implement this.

                  I have tried creating a new TV, and have googlemaps as the output. Not sure what to have as the input & no idea what to input anyway. I have Google Maps appearing on my site www.expedio.co.nz using embed iframe, but the map is not printing in IE, so I am looking at other options. So far, no clue.
                    • 6902
                    • 126 Posts
                    Have rc3 installed, and there is a minor bug in the output template... the css width of the main div is missing the requisite "px" which causes some unpredictable rendering.

                    It’s an easy fix to just add it to the file until it’s patched in the next version:
                    /core/model/modx/processors/element/tv/renders/web/output/googlemap.php

                    On line 78 change this:
                    $o = '<div class="'.$params['class'].'" style="width: '.$params['width'].'; height: '.$params['height'].'px">'."\n";


                    to this:
                    $o = '<div class="'.$params['class'].'" style="width: '.$params['width'].'px; height: '.$params['height'].'px">'."\n";
                      • 18174
                      • 116 Posts
                      Since this spring (change to php5.3.17?) I get this entry in error_log from time to time:
                      [23-Oct-2012 20:32:49 UTC] PHP Fatal error:  Call to undefined method modTemplateVarOutputRenderDeprecated::parseInput() in./core/model/modx/processors/element/tv/renders/web/output/googlemap.php on line 30

                      I cannot force the error, it happens randomly.
                      In the output everything seems ok, no entry in modx error log.
                      Any ideas?
                      My version is 1.0-rc3
                      regards
                      manu [ed. note: manu37 last edited this post 13 years, 11 months ago.]