We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30481
    • 33 Posts
    I have a little problem:
    the option css=0 didn’t seem to work.

    But when i am looking to value with debug option, i see well that this value is put to 0.
    It’s quite strange because the code is very simple there:
    if ($this->config["css"]["include"]) $modx->regClientCSS($src);

    I don’t understand where is the problem....
    All the other thing are ok !
      -------------------------------
      www.fabienletort.com
      • 4195
      • 398 Posts
      did you put &css=`0` correct ?
      Have you checked and played with the cache settings for the calling page?
        Armand Pondman
        MODx Coding Team
        :: Jot :: PHx
        • 30481
        • 33 Posts
        yes the call is correct.

        I did’nt use the cache setting at all.....

        I will try to find what is the problem... I don’t understand !
          -------------------------------
          www.fabienletort.com
          • 29635
          • 361 Posts
          Same problem, using Jot 1.1.2, seems to happen if Jot is called too "deep" in the site structure.

          My call: [!Jot? &pagination=`10` &badwords=`microsoft` &canmoderate=`Jot Moderators` &canpost=`Basic` &css=`0` !]

          Doesn’t work when it’s called like this: Template -> Content -> TV -> Chunk (with Jot call)
          Works fine when it’s: Template -> Content (with Jot call)

          Seems to be very similar to this issue, at least as far as I can tell.

          What’s weird is that the &canpost works just fine. When I attempt to put in &cssFile=`blah` that doesn’t have any affect either.

          Edit: Just in case anybody’s curious, I’ve run into this issue on a few different servers with both PHP and MySQL 4 and 5, so I don’t think it’s a server issue.
            Need MODx Ecommerce? Try FoxyCart!
            • 25663 MODX Staff
            • 12,272 Posts
            Maybe it’s an issue with the minimum number of parser passes... see the root-level index.php file for grins (it’s short)???
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 29635
              • 361 Posts
              Hmmm... Thanks for that, Ryan. Learn something new every day.

              I played around with those numbers and went up pretty high (50/200), but it didn’t seem to make any difference. I’ll post if I figure anything else out.
                Need MODx Ecommerce? Try FoxyCart!