We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/669">GoogleMapsTV 1.0-rc2</a> by splittingred.

    Brief Description:
    A custom TV output render type that allows you to output a TV value into a Google Map. Supports directions, custom icons, streetview, traffic, ads, and more.
      • 9994
      • 133 Posts
      Looks very nice, can it be used for evo too?
        Best CMS eva!
        • 28215
        • 4,149 Posts
        Quote from: fourroses at Apr 18, 2010, 03:48 PM

        Looks very nice, can it be used for evo too?
        No. Evolution does not support custom TVs.
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 12794
          • 6 Posts
          Hello,

          I’m looking for documentation on how to format the input data for googlemapstv. For example, if i want to display on the map multiple cities, what syntax do I use?

          Thank you
          Marcello (modx noob)
            • 17422
            • 225 Posts
            Hi,

            when my manager is in French language, googlemapsTV option does not works

            sniff :-(

              • 15308
              • 25 Posts
              Hi Shaun
              Changes made on TV options that are in select fields (Info Window, Use search etc.) have no effet on the rendered map.
              Regards

              MODx Revolution 2.0.0-pl rev7212
              GoogleMaps TV rc2
              Php 5.3.1
              Apache 2.2.14
              MySQL 5.1.41
                • 17422
                • 225 Posts
                Quote from: lolotlm at Aug 12, 2010, 12:06 PM

                Hi,

                when my manager is in French language, googlemapsTV option does not works

                sniff :-(



                i find :

                i modify the file googlemap.php in /core/model/modx/processors/element/tv/renders/web/output/

                foreach ($params as $k => $v) {
                if ($v == ’No’ || $v == ’Non’ || empty($v)) $params[$k] = 0;
                else if ($v == ’Yes’ || $v == ’Oui’) $params[$k] = 1;
                }

                i saw in differente file googlemaptv and i found

                if ($v == ’Yes’) $v = 1;
                if ($v == ’No’) $v = 0;

                I think it will be preferable to direct the values 0 and 1 in the value of googlemapTV input



                  • 15308
                  • 25 Posts
                  A flexible solution (for other foreign languages) is to use core lexicons
                    • 17422
                    • 225 Posts
                    I agree with you, but I’m new with modx and I do not know still do smiley
                      • 17422
                      • 225 Posts
                      i use [[*GoogleMapsTV]] in chunk with getResources

                      it’s no working because the id is the id of parent

                      how i do for send at GoogleMapsTV the id of this resources

                      ex :
                      [[*GoogleMapsTV? &docId=[[+id]] ]]
                      


                      and in googlemap.php

                      if ($docId != '') {
                      $value= $docId->parseInput($value);
                      }
                      else {
                      $value= $this->parseInput($value);
                      }
                      



                      excuse for my english smiley