We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41121
    • 27 Posts
    Hi folks,

    i'm working my way through marys great tut at codingpad: http://codingpad.maryspad.com/2011/02/07/modx-revolution-for-complete-beginners-part-6-working-with-template-variables/

    As far as i am now, i can say nice one i like the way modx does things.

    In Mary's last installment about template variables i got a problem assigning the template access. In Mary's example image:
    i can see access checkboxes, but in my backend there is only the column labeled 'Access' but no checkboxes in it.

    I'm working with the initial admin account right now. Hope anyone can point me in the right direction.

    Greets
    Jens
      • 41121
      • 27 Posts
      So update from my side:

      The checkbox is still missing, but i discovered that it is possible to trigger the function nonetheless.

      I have just to click in the empty space of the div wrapper of the checkbox, its a bit difficult because its rather small. I used firebug as target helper wink

      see ya

      Jens
      • Try reducing your view/zoom level. I'm getting the feeling you're not seeing it because it's falling off the side of your browser screen. Maybe... worth a try at least.
          Frogabog- MODX Websites in Portland Oregon
          "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
          Having server issues? These guys have MODX Hosting perfected - SkyToaster
          • 41121
          • 27 Posts
          tried it
          tried also in firefox, chrome, IE9

          No checkboxes! Heres the markup of one row of the tables
          The checkbox should be in the thrid table cell, but nothing there...

          <table cellspacing="0" cellpadding="0" border="0" style="width:1541px;" class="x-grid3-row-table">
              <tbody>
                <tr>
                  <td tabindex="0" style="width: 460px;" class="x-grid3-col x-grid3-cell x-grid3-td-0 x-selectable x-grid3-cell-first">
                    <div class="x-grid3-cell-inner x-grid3-col-0">
                      BasisTemplate
                    </div>
                  </td>
          
                  <td tabindex="0" style="width: 924px;" class="x-grid3-col x-grid3-cell x-grid3-td-1 x-selectable">
                    <div class="x-grid3-cell-inner x-grid3-col-1">Template</div>
                  </td>
          
                  <td tabindex="0" style="width: 151px;" class="x-grid3-col x-grid3-cell x-grid3-td-ext-gen76 x-selectable x-grid3-cell-last x-grid3-check-col-td">
                      <div class="x-grid3-cell-inner x-grid3-col-ext-gen76">
                         <div class="x-grid3-check-col x-grid3-cc-ext-gen76"> </div>
                       </div>
                  </td>
                </tr>
          
                <tr style="" class="x-grid3-row-body-tr">
                  <td hidefocus="on" tabindex="0" class="x-grid3-body-cell" colspan="3">
                    <div class="x-grid3-row-body"></div>
                  </td>
                </tr>
              </tbody>
            </table>
          
            • 3749
            • 24,544 Posts
            What's the output type of your checkbox TV?

            You might try turning off the compress_js and compress_css System Settings (and clearing the site cache).



            ------------------------------------------------------------------------------------------
            PLEASE, PLEASE specify the version of MODX you are using.
            MODX info for everyone: http://bobsguides.com/modx.html
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 41121
              • 27 Posts
              Hi BobRay,

              this is about the template variables dialog of modx in revo2.2.4pl

              The dialog has a tab 'Template Access', where in the column 'Access' has to be checkboxes for every template listed in the table. But in mine installation there issn't.

              I figured after looking at the css that modx backend uses just images for the checkbox and not the form element. It seems the browser cannot find these images...

              I will look into this.

                • 3749
                • 24,544 Posts
                Did you try turning off compress_js and compress_css?

                Also, try manually deleting all files in the core/cache directory, then clearing your browser cache and cookies.


                Are the Templates or TVs protected by any ACL entries?


                ------------------------------------------------------------------------------------------
                PLEASE, PLEASE specify the version of MODX you are using.
                MODX info for everyone: http://bobsguides.com/modx.html
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 41121
                  • 27 Posts
                  Hey,

                  new info from my side:
                  i checked the css again and found some wierd image path for the background-image...

                  .x-grid3-check-col {
                      background-image: url("D:/workspace/internetauftritt/manager/templates/default/images/modx-theme/menu/unchecked.gif");
                      cursor: pointer;
                      margin-top: 10px;
                  }


                  Why is the manager using a file path here ?? Help... someone?

                  Greets
                  Jens
                  • Is that the path where your site is installed? Mine is
                    /modx224/manager/templates/default/images/modx-theme/menu/unchecked.gif

                    but that's on a Mac.

                    What do the other background images have?
                      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
                      • 41121
                      • 27 Posts
                      back again smiley

                      another example:
                      .x-item-disabled .x-tbar-page-first {
                          background-image: url("D:/workspace/classing.internetauftritt/manager/templates/default/images/modx-theme/grid/page-first-disabled.png") !important;
                      }


                      Our dedicated Server is running Windows...

                      its obvious a path problem, any Ideas? Do i have to set a special path in config or adjust something maybe in a .htaccess file, or apache aliases?

                      Greets
                      Jens