We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6726
    • 7,075 Posts
    Now that is a good news !

    I’ll get some more details later - an idea I have in the works - but prepare a little amazon wishlist guys grin
      .: COO - Commerce Guys - Community Driven Innovation :.


      MODx est l'outil id
      • 11975
      • 2,542 Posts
      Hi Folks,

      I’m very close to the end for tveditor and tvexplorer.
      Perrine and I are making some test and I will release a beta(by the end of the week)
      The module online demo is not up to date.
      Unfortunately I didn’t succeed to deal with ditto pagniation whitout tweaking one line in buildUrl function.

      I’ve added session management to avoid people the several steps to create their search form when they leave the page to edit a doc in ditto list.
      I will release in the same time, tveditor and tvexplorer.
      I will try to document the more I can tvexplorer.

      I’ve already posted in the french forum some sample forms.


      For instance here is the chunk code for this form
      www.dixsix.fr/explorer/


      <form action="[~[*id*]~]" method="get" >
      <fieldset>
      [+tve.keywordsSearch:excludeTVs->all:label->Mots clés+]
      </fieldset>
      <fieldset>
      [+tve.Appellation:filter->9:outerTPL->appellationTpl:label->Choisissez une appellation+]
      </fieldset>
      <fieldset>
      [+tve.categorie:filter->9:c_blankLabel->-:label->Choisissez une catégorie+]
      </fieldset>
      <fieldset>
      [+tve.Couleur:filter->9:label->Choisissez une couleur+]
      </fieldset>
      <fieldset class="sendForm">
      <input type="submit" name="tve_search" value="Search" />
      </fieldset>
      </form>

        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 6726
        • 7,075 Posts
        Quote from: heliotrope at May 28, 2007, 04:28 PM
        I’m very close to the end for tveditor and tvexplorer.
        Perrine and I are making some test and I will release a beta(by the end of the week)

        Feels like christmas is coming soon grin
        This is going to be BIG !

        The nice part is, I’ll have some time to really get back to MODx full throttle in about 2 weeks thus I’ll be able to test it (and I have a client who will enjoy helping too, which will give some end user feedback as well)
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l&#39;outil id
          • 11975
          • 2,542 Posts
          grin I hope so !!!

          This is a very basic sample form.
          You can do much more with tvexplorer.
          You can enable a full text search on each tv ([+tve.tvname:fullText->true+]) => will display a text field for search only on this tv
          You can create range for prices comparison for instance.
          You can create a parent element to allow vistor to select which folder to browse
          [+tve.parentElt:start->23,45:depth->2,3:field->menutitle:type->dropdown+]
          you can change the tv type for front end rendering
          [+tve.tvname:tvtype->checkbox+]
          You can set a chunk for every tv type(radioTPL, selectTPL, ..) or Tv (innerTPL, outerTpl)

          The only weakness is that it doesn’t support date for now

          More to come.

          :-)


            Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
            • 11975
            • 2,542 Posts
            here is a sample using the range Method

            The form element before applying the range method



            once the range is applied



            Some explanations
            The tv type in DB is number

            [+tve.ObjectPrix:#RANGE{tvtype->dropdown:label->Votre budget (prix max.):elements->@Chunk intervalPrix:filter->4}+]

            tvtype->dropdown => we are changing the tv type from number to dropdwon
            elements->@CHUNK intervalPrix => as tv type in db is number there are no options so we’re creating them by calling @Bindings (all are supported @EVAL @SELECT @DIRECTORY plus one I creatd @TV)
            In this sample the chunk contains
            Moins de 15€==15||Moins de 50€==50||Moins de 80€==80||Pas de limite==9999
            filter->4 the filter to apply

            If you need to have two elements in your range you have to separate the properties with ||
            [+tve.tvname:#RANGE{from || to }+]

            :-)

              Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
              • 27376
              • 576 Posts
              Is this available for download yet? I’m actually quite curious now that I have to manage 45+ TVs on my site shocked