⚠️ Urgent! Active Attacks on MODX Revolution Sites Below Revolution 2.6.5
Subscribe: RSS
  • There's a good chance that it's a Firefox plugin, rather than Firefox itself. [ed. note: BobRay last edited this post 1 month, 3 weeks ago.]
      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
    • Bob,
      The only plugins running are Shockwave Flash 19.0 r0 and PDF-XChange Viewer. To be honest, after updating Firefox (now version 42.0, I believe) it seems a bit buggy when working with MODX. It doesn't accurately detect when a page/resource has been altered, and with non-altered resources when I click to navigate to a different resource Firefox shows me a popup about saving data before moving away from the resource.

      Anyway, not to worry. Now I know it is a caching issue with a particular browser, I can warn the client and there shouldn't be a problem.

      Thanks again.
      • I've had issues with the latest version of Firefox on several non-modx sites. I haven't noticed anything on a MODX site, but it wouldn't surprise me.
          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
        • Hey All, so I am having the same issue, and changing the browser did not get it done. What I am doing is running an EVAL script in a multi-select list.
          @EVAL return $modx->runSnippet('getResources', array('parents'=>'0', 'showHidden'=>'1', 'tplFirst'=>'tvInputOptionsFirstTpl', 'tpl'=>'tvInputOptionsTpl', 'context'=>'web', 'limit'=>'0', 'depth'=>'4', 'sortby'=>'pagetitle', 'sortdir'=>'ASC', 'where'=>'{"template:=":7}'));


          tplFirst:
          [[+pagetitle]]==[[+id]]

          tpl:
          ||[[+pagetitle]]==[[+id]]


          Any help would be great....

          Thanks
          • Is there a tag that displays the TV's content?

            You might try switching to pdoResources (in the pdoTools extra), though I'm not sure it will make a difference.

            You're not using CacheMaster by any chance?

              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
            • Quote from: BobRay at Aug 06, 2018, 07:23 PM
              Is there a tag that displays the TV's content?

              You might try switching to pdoResources (in the pdoTools extra), though I'm not sure it will make a difference.

              You're not using CacheMaster by any chance?


              Hey Bob, I tried pdoResources no change. I am not using CacheMaster either. Do you think I should?
              FYI help me solve this and my &where filter problem and the Beers are on me....

              Thanks Ryan
              • Create a snippet with this code from your TV (reformatted -- it has to be on one line in the TV):

                return $modx->runSnippet('getResources', 
                   array(
                      'parents'=>'0', 
                      'showHidden'=>'1', 
                      'tplFirst'=>'tvInputOptionsFirstTpl',
                      'tpl'=>'tvInputOptionsTpl',
                      'context'=>'web',
                      'limit'=>'0', 
                      'depth'=>'4', 
                      'sortby'=>'pagetitle', 
                      'sortdir'=>'ASC', 
                      'where'=>'{"template:=":7}'
                    )
                );


                Put a tag for it on a page and see what it returns.

                  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
                • Quote from: BobRay at Aug 09, 2018, 03:31 AM
                  Create a snippet with this code from your TV (reformatted -- it has to be on one line in the TV):

                  return $modx->runSnippet('getResources', 
                     array(
                        'parents'=>'0', 
                        'showHidden'=>'1', 
                        'tplFirst'=>'tvInputOptionsFirstTpl',
                        'tpl'=>'tvInputOptionsTpl',
                        'context'=>'web',
                        'limit'=>'0', 
                        'depth'=>'4', 
                        'sortby'=>'pagetitle', 
                        'sortdir'=>'ASC', 
                        'where'=>'{"template:=":7}'
                      )
                  );


                  Put a tag for it on a page and see what it returns.



                  This is the out put:

                  ALMOND==77 ||Bell Peppers (Solanacae)==18 ||Blueberry==24 ||CITRUS==13 ||Grapes==25 ||Lettuce==20 ||Onions (Herbacae-Lilacae)==19 ||Peanuts==26 ||PECAN==15 ||Squash / Cucurbit==21 ||Standard Veggies==17 ||STONE FRUIT==14 ||Strawberry==23 ||Tomato==28 ||Turf & Ornamentals==29 ||Watermelon (Curcubit)==27 ||YOUNG PERENNIAL==12
                  • That looks about right, though you haven't said what you mean to do with that data. If you just want to show a list of links to those pages, Wayfinder might work a lot better.

                    [[Wayfinder?
                       &rowTpl=`MyRowTpl`
                       &startId=`0`
                       &level=`4`
                       &sortBy=`pagetitle`
                       &sortOrder=`ASC`
                       &contexts=`web`
                       &ignoreHidden=`0`
                       &where=`{"template:=":7}`
                    ]] 


                    If necessary, you could use TVs for the values above.

                    The rowTpl would look something like this:

                    <li><a href="[[+wf.link]]">[[+wf.linktext]]</a>[[+wf.wrapper]]</li>

                      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
                    • Hey Bob,

                      Let me break it down a little further. So we are using have series of casestudies, some are for multiple crops. So we have a container page that has all of these studies under them. In each study we have this EVAL call to pull all the crops that they can be tagged if you will with the related casestudies.

                      What is happening we select them, save, and go back and the checkboxes, or multiselect list is blank. It is as if we never checked them.

                      Check and Saved

                      When I reopen the file