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

    I'm running website on MODX Revolution 2.2.6-pl (traditional)
    I couldn't find any documentation about this field in db table. What is it used for and how to change it properly?
    I have one recourse with 'pageNavTpl', 'pageActiveTpl', 'pageFirstTpl', 'pageLastTpl', 'pagePrevTpl' and 'pageNextTpl' parameters in 'properties' field of that recourse. It contains of html with incorrect urls and I want to change it.
      • 3749
      • 24,544 Posts
      It's a field that's not used by the MODX core. It holds a JSON string, just like the 'properties' fields of elements and the 'extended' field of the user profile.

      It looks like it's being used by a page navigation snippet (probably to generate Previous/Next links). You can edit its content directly in the DB as long as you only edit things between quotation marks and make sure you don't delete any quotes, colons, commas, or {} symbols.

      If the page nav snippet is recreating it in some faulty way, though, your changes may be undone.
        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
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Actually it is used by the core for certain resource types, such as for the response code in a weblink resource.
          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
          • 3749
          • 24,544 Posts
          I stand corrected. I seldom use those, so I never noticed. wink
            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
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            I only found it out because of my four-year-old battle with static resources and media sources (long story). Anyway, if you did want to use it for anything, most of the time it's not used, but you'd have to be careful.
              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