We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9550
    • 123 Posts
    ah, i c...
    http://svn.modxcms.com/docs/display/revolution20/Adding+a+Custom+TV+Output+Type
    http://svn.modxcms.com/docs/display/revolution20/Adding+a+Custom+TV+Input+Type

    but i wonder, can you duplicate and sort these custom TV’s ala your plugin.

    ..must look into this more later smiley
      • 4172
      • 5,888 Posts
      for revo I’m about to make thisone:
      http://modxcms.com/forums/index.php/topic,51857.msg301925.html#msg301925

      adding and removing items (images and description) is allready working. now I’m trying to find a way for sorting that panels with extJS.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Is this compatible with ManagerManager? I’m working with the image uploader you built for <a client>, and am trying to move the TV to a separate tab. I’ve also had a problem when trying to hide it. MM doesn’t seem to be able to deal with it. It does report the TV in its list of TVs.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          This is fun. I have replaced the popup.php file with a MODx resource. It is unpublished, since only Manager users will ever access the custom TV. And this has the added benefit of blocking users from accessing it by not allowing viewing of unpublished pages in a role.

          It has a template and can otherwise behave exactly like any resource, taking snippets, specifying js files to load, css files (if you want to use the manager default theme stylesheet, just remember that you’re working from the front-end now, so the path has to go through the manager directory), everything. The my-tv-name.php file that resides in the assets/tvs folder just links to it instead of to the my-tv-name/popup.php file.

          I consider this the first step in a long-held plan I have been nourishing to gradually move the Manager action and processor files into resources. Let MODx manage MODx. Today custom TVs, tomorrow the world!

          Now back to making it do something interesting and maybe even useful!
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 20413
            • 2,877 Posts
            Wow! This could evolve to a manager app for iphone/android phones! smiley
              @hawproductions | http://mrhaw.com/

              Infograph: MODX Advanced Install in 7 steps:
              http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

              Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
              http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
              • 5340
              • 1,624 Posts
              Quote from: Peter at Jun 20, 2010, 05:00 PM

              Quote from: fixedmachine at Jun 20, 2010, 03:50 PM

              Just great! But I’ve got one question: could you prepare just a small package only with files which should be replaced? Or just make an list of files which should be copied from your custom MODx distribution to the already installed MODx? That would be convinient for those who want only add Custom TV to already existing MODx installation.
              Sure, here we go: http://www.mapledesign.co.uk/assets/files/projects/modx-tvs/modx-1.0.4-tvs_extras.zip


              I just used these files on a 1.0.4 MAMP install but nothing is changed in the TV section. Do I need to get the full MODX version and overwrite the current files?

              Thanks
                • 5340
                • 1,624 Posts
                Quote from: sottwell at Aug 14, 2010, 06:49 AM

                This is fun. I have replaced the popup.php file with a MODx resource. It is unpublished, since only Manager users will ever access the custom TV. And this has the added benefit of blocking users from accessing it by not allowing viewing of unpublished pages in a role.

                It has a template and can otherwise behave exactly like any resource, taking snippets, specifying js files to load, css files (if you want to use the manager default theme stylesheet, just remember that you’re working from the front-end now, so the path has to go through the manager directory), everything. The my-tv-name.php file that resides in the assets/tvs folder just links to it instead of to the my-tv-name/popup.php file.

                I consider this the first step in a long-held plan I have been nourishing to gradually move the Manager action and processor files into resources. Let MODx manage MODx. Today custom TVs, tomorrow the world!

                Now back to making it do something interesting and maybe even useful!

                Hi Susan,

                I need to build a small gallery using this custom TV. Did you figure out how to save values to DB.
                To make it easy how can I save the name of the folder containing the images I just uploaded.

                Thanks
                  • 16545
                  • 358 Posts
                  Documentation or samples are missed?
                    • 6537
                    • 70 Posts
                    I think a lot of people are crying out for something like this. This post nicely sums up a problem that I run into quite a lot, and I can imagine other people do to:

                    http://eatsleepmodx.com/articles/add-endless-tvs-to-a-single-document

                    Custom tvs, where the end user could click to add another copy of the tv (maybe for a list element) would be perfect for this.

                    If this could be more accessible it would really give MODx a boost - my coding skills aren’t up to making this work ’as-is’, but I’d be happy to help with putting together documentation or something to help get it out there. What would be great would be to have a couple of examples/walkthroughs of how it could be used.

                    Peter - I’m only 20mins west of Southampton, so if you need another pair of hands for some docs etc, let me know.
                      • 26931
                      • 2,314 Posts
                      I think a lot of people are crying out for something like this. This post nicely sums up a problem that I run into quite a lot, and I can imagine other people do to:
                      http://eatsleepmodx.com/articles/add-endless-tvs-to-a-single-document
                      check this: http://bit.ly/bqH3iX