We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11975
    • 2,542 Posts
    To use tvExplorer, you need to create a chunk (you can use a file as well) in which you are writing some specials tags.

    Tags for tv are as follow:

    [+tve.myTVName:param->value+] => tvexplorer will automatically create the form element.

    Let’s take a basic example

    [+tve.myTVname:label->the tv label:filter->7+]

    label-> the text to insert in <label> tag
    filter-> the ditto filter to apply

    there are some others params but the params mentionned above are the minimum requirement

    So to display your tvs just create as many tags as you need (1 per TV)

    :-)


      Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
      • 11975
      • 2,542 Posts
      Just in case you prefer creating a file for your form

      here is how to specify the path to the file

      &formTPL=`@FILE:assets/modules/tvEditor/examples/press.tpl`

      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 16382
        • 36 Posts
        Great stuff heli!

        Merci beaucoup for the help, I knew there was something I was missing. This is a great module
          • 11975
          • 2,542 Posts
          You’re welcome smiley

          Most of the params available for tvExplorer are listed in the tvExplorer post in the in development forum.
          Keep in mind that tvexplorer is a snippet(frontend) and tveditor is a module (backend).

          Do not hesitate to post in tvexplorer thread if you have questions

          :-)
            Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
            • 24530
            • 100 Posts
            Hi heliotrope!
            My tv-explorer module returns for every item
            "Warning: Wrong parameter count for explode() in /www/htdocs/v158413/modx096/assets/snippets/ditto/extenders/tve.extender.inc.php on line 49"
            ... I didn´t change the ditto-template yet, it is still original ...

            the line is as follows:
            if(isset($selectTV)) $ids = (is_array($selectTV) ) ? $selectTV : explode($selectTV);


            should it be changed to
            if(isset($selectTV)) $ids = (is_array($selectTV) ) ? $selectTV : explode(",",$selectTV);

            ?
              my newest webpage [url=http://gitarren.zucali.at]Meisterwerkstatt f
              • 11975
              • 2,542 Posts
              It seems I forgot the 1st param for explode() function.

              Your changes shoud do the trick.
              Could you confirm it solves the problem.

              Thx.

              I will post asap a new version including some fixes.

              :-)
                Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                • 24530
                • 100 Posts
                ’explode(",",$selectTV)’ works for me ;-)
                  my newest webpage [url=http://gitarren.zucali.at]Meisterwerkstatt f
                  • 400
                  • 40 Posts
                  Error

                  Parse error: parse error, unexpected $ in /srv/www/vhosts/traumwohnung-nrw.de/httpdocs/manager/processors/execute_module.processor.php(98) : eval()'d code on line 1


                  Files: tvEditor.0.8.5.2

                  My MODx - 0.9.6, Linxu, PHP 4.3.10
                    • 11975
                    • 2,542 Posts
                    Hi,

                    it seems that something is wrong with your install.

                    Check out the install process in my first post.

                    :-)
                      Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                      • 897
                      • 1,620 Posts
                      hello from russia!

                      at first this is cool module! thax!

                      BUT, i find and fix some bug.

                      when i try use in form two tv’s whith #RANGE i getting rendered only one of them and alway last declarated. after many hours readinig code i know kung-fu smiley

                      in class/tveditor.class.php in function fetchForm need add some code

                      function fetchForm($prefix=’tve.’){
                      ...
                      $ph = $matches[1];

                      $ChildNames = array();
                      for($i=0;$i<$total;$i++){
                      ...
                      switch($kind){
                      case ’RANGE’:
                      $tvChilds = $this->parseRange($rangeProp);
                      $childIDs = $this->createChildTV($name,$tvChilds,$ph[$i]);
                      $ChildNames = array_merge($ChildNames,array_keys($childIDs));//array_keys($childIDs);
                      break;
                      }
                      ...
                      ...
                      }

                      and all be perfect!

                      good luck everyone!
                        "Und wenn du lange in einen Abgrund blickst, blickt der Abgrund auch in dich hinein."

                        Не используйте Revo для "просто сайтов". Используйте Evo

                        Who can defeat the Russian bear?