We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    Nice extra, thanks!

    Could you tell me where I can change the options names? I would like to change AKTIV to active but can’t seem to see where it’s done?
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 11076
      • 159 Posts
      Quote from: rossco at Mar 04, 2011, 06:35 AM

      Nice extra, thanks!

      Could you tell me where I can change the options names? I would like to change AKTIV to active but can’t seem to see where it’s done?
      https://github.com/MadeMyDay/checkboxSortable/blob/master/manager/templates/default/element/tv/renders/input/checkboxSortable.tpl#L36
        Michael Shraibman( gOmp)  | Freelance Design & Development | wink  impossible is nothing...
        • 28955
        • 5 Posts
        sorry, me again ;-)
        I tried to set the value of autoHeight to false in the tpl sortableCheckbox (see #47). But it doesn’t change anything, my list is still as long as a long river...
        How can I get a smaller box with a scrollbar? tried to set the height to a lower value, but nothing happens :-(
        Would appriciate any input!

        Greetings, Susanne
          • 8930
          • 44 Posts
          Hi,

          I would like to use this so usefull tv to make a cross reference system between two sortablecheckbox tv located in a two different resources.... no so clear? right, one example :
          - take a member resource where you have a list of publications
          - take a publication resource where you have a list of authors

          Each list is set by the list of resources of corresponding template. My idea is to simplify the user’s work and give him the opportunity to associate member and publication from the way which is more intuitive to him.

          So, imagine, if you modify in your publication resource the checked status of an author, when you go to the resource of that author, the corresponding publication is updated automagically....

          Do you think this sort of cross reference is possible to do with sortablecheckbox input filter?

          Thanks in advance
            Equilibre Webdesign - Conception et r
            • 25551 ☆ A M B ☆
            • 1,231 Posts
            I am using sortableCheckbox and when I click one the save button does not become active. I have to do a space of something in another TV so the system thinks there was a change. I am using Chrome but just tried Firefox with the same results and wondered if this is a known issue?

            Revo 2.0.8

            Thanks
              Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
              AugmentBLU - MODX Partner

              BLUcart - MODX Revolution E-Commerce & Shopping Cart
              • 17883
              • 1,039 Posts
                • 25551 ☆ A M B ☆
                • 1,231 Posts
                Thanks that did work how ever in Firefox the drop and drag feature doesn’t work. Works fine in Chrome though. Any ideas?
                  Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                  AugmentBLU - MODX Partner

                  BLUcart - MODX Revolution E-Commerce & Shopping Cart
                  • 4172
                  • 5,888 Posts
                  There are in general issues with drag/drop and positioning of fix-positioned dropdown-menues in FF in revos backend. I think this has nothing todo with checkboxsortable itself.

                  I think calculating the mouse-position isn’t working correctly somehow.

                  try it, when your scrollbar isn’t moved from top.
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 25551 ☆ A M B ☆
                    • 1,231 Posts
                    OH yes that works... very odd! I hope this can be sorted soon, clients site is going live next week.
                      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                      AugmentBLU - MODX Partner

                      BLUcart - MODX Revolution E-Commerce & Shopping Cart
                      • 4172
                      • 5,888 Posts
                      @ rossco:

                      this mods (on 2.1 rc1) seems to fix the issue with dragging in firefox and we get seperate scrolling for the tree and content which comes very handy.

                      file /manager/assets/modext/core/modx.layout.js:

                      change:

                         Ext.applyIf(config,{
                               layout: 'border'
                              ,id: 'modx-layout'
                              ,items: [{
                      
                      
                      
                      
                      
                                   region: 'west'
                                  ,applyTo: 'modx-leftbar'
                                  ,id: 'modx-leftbar-tabs'
                                  ,split: true
                                  ,width: 310
                                  ,minSize: 150
                                  ,maxSize: 800
                      
                                  ,autoHeight: true
                                  ,unstyled: true
                                  ,collapseMode: 'mini'
                                  ,useSplitTips: true
                                  ,monitorResize: true
                                  ,forceLayout: true
                                  ,stateful: false


                      to
                          Ext.applyIf(config,{
                               layout: 'border'
                              ,id: 'modx-layout'
                              ,items: [{
                                  xtype: 'box',
                                  region: 'north',
                                  applyTo: 'modx-header',
                                  height: 90
                              },{
                                   region: 'west'
                                  ,applyTo: 'modx-leftbar'
                                  ,id: 'modx-leftbar-tabs'
                                  ,split: true
                                  ,width: 310
                                  ,minSize: 150
                                  ,maxSize: 800
                                  ,autoScroll: true
                      
                                  ,unstyled: true
                                  ,collapseMode: 'mini'
                                  ,useSplitTips: true
                                  ,monitorResize: true
                                  ,forceLayout: true
                                  ,stateful: false


                      and
                            region: 'center'
                                  ,applyTo: 'modx-content'
                                  ,id: 'modx-content'
                                  ,border: false
                      
                                  ,autoHeight: true
                                  ,margins: '0 30 0 15'
                                  ,bodyStyle: 'background-color:transparent;'


                      to:
                            region: 'center'
                                  ,applyTo: 'modx-content'
                                  ,id: 'modx-content'
                                  ,border: false
                      
                                  ,autoScroll: true
                                  ,margins: '0 0 0 15'
                                  ,bodyStyle: 'background-color:transparent;'







                      in file /manager/templates/default/header.tpl

                      change:

                      <div id="modx-container">
                      
                      
                      
                          <div id="modx-topbar">
                              <div id="modx-logo"><a href="http://modxcms.com" onclick="window.open(this.href); return false;"><img src="templates/{$_config.manager_theme}/images/style/modx_logo_header.png" alt="" /></a></div>
                              <div id="modx-site-name">
                                  {$_config.site_name}
                                  <span class="modx-version">MODX Revolution {$_config.settings_version} ({$_config.settings_distro})</span>
                              </div>
                          </div>
                          <div id="modx-navbar">
                              <div id="rightlogin">
                              <span>
                                  <a class="modx-logout" href="javascript:;" onclick="MODx.logout();">{$_lang.logout}</a>
                                  <a id="modx-login-user" href="?a={$profileAction}">{$username}</a>
                              </span>
                              </div>
                              {include file="navbar.tpl"}
                          </div>
                      
                      
                      
                          <div id="modx-mainpanel">
                              <div id="modAB"></div>


                      to:
                      <div id="modx-container">
                      
                          <div id="modx-mainpanel">
                          <div id="modx-header">
                          <div id="modx-topbar">
                              <div id="modx-logo"><a href="http://modxcms.com" onclick="window.open(this.href); return false;"><img src="templates/{$_config.manager_theme}/images/style/modx_logo_header.png" alt="" /></a></div>
                              <div id="modx-site-name">
                                  {$_config.site_name}
                                  <span class="modx-version">MODX Revolution {$_config.settings_version} ({$_config.settings_distro})</span>
                              </div>
                          </div>
                          <div id="modx-navbar">
                              <div id="rightlogin">
                              <span>
                                  <a class="modx-logout" href="javascript:;" onclick="MODx.logout();">{$_lang.logout}</a>
                                  <a id="modx-login-user" href="?a={$profileAction}">{$username}</a>
                              </span>
                              </div>
                              {include file="navbar.tpl"}
                          </div>
                          </div>
                              
                      
                      
                              <div id="modAB"></div>


                      if this fix is working for you and someone assists me how to make a proper commit to my fork and a pull-request for that I will do that on github, when others find that are usefull changes.

                      [Edit]

                      bääh, chrome renders the container some pixels to wide and to hight and adds unwanted scrollbars now

                      perhaps we can change manager/templates/default/css/index.css

                      .x-viewport, .x-viewport body {
                          overflow:auto;
                      }

                      to
                      .x-viewport {
                          overflow:auto;
                      }
                      



                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!