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
    Hi folks,

    I’m working on a module which aim is to provide aneasy way to edit TV options values.
    In the same time it will manage the update of existing values stored in modx_site_tmplvar_contentvalues

    //Features:
    - List all TVs which meets this criteria : (done)
    =>accept only listbox,listbox-multiple,checkbox,option,dropdown TV type with value != @bindings

    - Edit the options values according two modes (done)
    =>mode 1: value||value2
    =>mode 2: name==value||name==value

    - check if new or updated values are not duplicates (in progress)

    - Update modx_site_tmplvar_contentvalues according new values (done)
    - delete entry in modx_site_tmplvar_contentvalues if new value is empty(done)

    - Sort TV display in template (based on menu index) (done)
    Garryn has already done it. ==> http://modxcms.com/bugs/task/549

    Here are some screenshots









    Till now I’ve worked alone but Laurentc offered to help me.

    So before continuing, we’d like to know if someone is being working on a similar project ?

    :-)

    EDIT : Here is the beta 01
    I’ve corrected the issue concerning the new options (see post below for details)

    the code really needs to be cleaned up and improved.
    there are no error messages when duplicate are found, in that case the form is reloaded till you correct the duplicates entries.



    UPDATE[10/11/2006]:
    -bug fixes.

    UPDATE[10/14/2006]:
    - bug fixes.
      Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
      • 10487 MODX Staff
      • 1,535 Posts
      Garry Nutting Reply #2, 20 years ago
      That is looking excellent! grin Great work so far.

      I was planning on implementing the TV sorting into the Doc Manager module that’s shipping with 0.9.5, but I’m wondering whether to do it now. I think the TV Editor and Doc Manager module would sit perfect together in terms of the features they offer - not really much point having unnecessary crossovers.

      Do you have a timescale on completion for this at all?
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
        • 11975
        • 2,542 Posts
        Thx for your kind comment.

        Like any modx contributors, we will develop the remaining features during our free time so it’s hard to announce a release date.

        :-)

        EDIT: about tv sorting for templates, the main issue is that rank property is defined in modx_site_tmplvars which means that when TV is shared beetwen several template your changes will affect all templates.
        In my opinion, rank field should be part of modx_site_tmplvar_templates table.
          Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
          • 2762
          • 1,198 Posts
          Nicola (Banzai) Reply #4, 20 years ago
          Great work heliotrope, I can’t wait to have it! laugh
            Free MODx Graphic resources and Templates www.tattoocms.it
            -----------------------------------------------------

            MODx IT  www.modx.it
            -----------------------------------------------------

            bubuna.com - Web & Multimedia Design
            • 10487 MODX Staff
            • 1,535 Posts
            Garry Nutting Reply #5, 20 years ago
            In my opinion, rank field should be part of modx_site_tmplvar_templates table.
            Could you file this in the bugtracker as a feature request please (if it isn’t there already).
              Garry Nutting
              Senior Developer
              MODX, LLC

              Email: [email protected]
              Twitter: @garryn
              Web: modx.com
              • 32963
              • 1,732 Posts
              Hi heliotrope,

              Very nice work. I love the clean layout.

              Keep up the good work.
                xWisdom
                www.xwisdomhtml.com
                The fear of the Lord is the beginning of wisdom:
                MODx Co-Founder - Create and do more with less.
                • 11975
                • 2,542 Posts
                Quote from: garryn at Sep 27, 2006, 08:10 AM

                Could you file this in the bugtracker as a feature request please (if it isn’t there already).

                done => http://modxcms.com/bugs/task/549

                :-)
                  Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                  • 6726
                  • 7,075 Posts
                  Now here is a nice project !
                  I rely so much on TVs that this will be a great tool laugh

                  I should roam the dev forums more often tongue
                    .: COO - Commerce Guys - Community Driven Innovation :.


                    MODx est l'outil id
                    • 25663 MODX Staff
                    • 12,272 Posts
                    How’s the progress going heliotrope?
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 11975
                      • 2,542 Posts
                      I’m still working on it but as a non professionnal developper, the last steps are the hardest.
                      I’ve asked for help in french forum.
                      I hope we’ll be able to release a beta in a couple of weeks.

                      :-)


                        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l