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.
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.
-
☆ 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.
I stand corrected. I seldom use those, so I never noticed.
-
☆ 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.