# Development

**URL:** https://community.modx.com/c/dev/16.md

[Latest](https://community.modx.com/latest.md) · [Categories](https://community.modx.com/categories.md) · [Tags](https://community.modx.com/tags.md)

---

## [About the Development category](https://community.modx.com/t/about-the-development-category/30)

<div class="topic-metadata">

**Author:** [@rthrash](https://community.modx.com/u/rthrash)\
**Replies:** 0\
**Last updated:** [September 11, 2018, 3:01am UTC](https://community.modx.com/t/about-the-development-category/30 "2018-09-11T03:01:58Z")

</div>

For discussions regarding developing websites, Extras and custom apps.

---

## [Mediasource with path outside web-root and url like "endpoint.php?file="](https://community.modx.com/t/mediasource-with-path-outside-web-root-and-url-like-endpoint-php-file/9305)

<div class="topic-metadata">

**Author:** [@domindian](https://community.modx.com/u/domindian)\
**Replies:** 4\
**Last updated:** [November 4, 2026, 1:23pm UTC](https://community.modx.com/t/mediasource-with-path-outside-web-root-and-url-like-endpoint-php-file/9305 "2026-11-04T13:23:40Z")

</div>

In an effort to create a manager-friendly gallery with protected images I wonder how far I can go with the path- and url-settings of a mediasource in the latest MODX version 3.2.4, and onwards. More experienced develope…

---

## [Predefined Content Extra](https://community.modx.com/t/predefined-content-extra/9300)

<div class="topic-metadata">

**Author:** [@theuros](https://community.modx.com/u/theuros)\
**Replies:** 4\
**Last updated:** [November 2, 2026, 12:45pm UTC](https://community.modx.com/t/predefined-content-extra/9300 "2026-11-02T12:45:34Z")

</div>

Hi to all If anyone has a few minutes, I’d really appreciate some testing. If the default Content field is too limited for you and ContentBlocks feels like overkill, I made \*predefinedBlocks\*, a lightweight block edito…

---

## [How to filter out bot traffic in views counter?](https://community.modx.com/t/how-to-filter-out-bot-traffic-in-views-counter/9309)

<div class="topic-metadata">

**Author:** [@snowcreative](https://community.modx.com/u/snowcreative)\
**Replies:** 8\
**Last updated:** [October 30, 2026, 4:00pm UTC](https://community.modx.com/t/how-to-filter-out-bot-traffic-in-views-counter/9309 "2026-10-30T16:00:36Z")

</div>

I’m adding a views tracker to a site. Does anyone have a way to filter out bot and AI traffic in a PHP script that will run on each page view? I’m thinking a javascript triggering the PHP script with AJAX will get around…

---

## [Media browser remember last folder](https://community.modx.com/t/media-browser-remember-last-folder/4843)

<div class="topic-metadata">

**Author:** [@culd\_steffan](https://community.modx.com/u/culd_steffan)\
**Replies:** 8\
**Last updated:** [October 21, 2026, 8:09am UTC](https://community.modx.com/t/media-browser-remember-last-folder/4843 "2026-10-21T08:09:17Z")

</div>

Hi, Is there a way to remember the last folder which a user has selected in the media browser, so that when a user reopens the media browser that folder is selected? When the file-structure is comprehensive users have t…

---

## [MODX 3.2.4 Link to Resource in Context en failed](https://community.modx.com/t/modx-3-2-4-link-to-resource-in-context-en-failed/9274)

<div class="topic-metadata">

**Author:** [@fritzkola](https://community.modx.com/u/fritzkola)\
**Replies:** 4\
**Last updated:** [September 25, 2026, 12:13pm UTC](https://community.modx.com/t/modx-3-2-4-link-to-resource-in-context-en-failed/9274 "2026-09-25T12:13:24Z")

</div>

Hello, since update to MODX 3.2.4 we have the following problem: Bad link tag \`\[\[~15871\]\]\` encountered Could not load context: en We have nothing chance only upgrade to latest MODX Version. Resource 15871 exists. Co…

---

## [Can you use BabelTranslation for multilingual and link targets in Richtext](https://community.modx.com/t/can-you-use-babeltranslation-for-multilingual-and-link-targets-in-richtext/9143)

<div class="topic-metadata">

**Author:** [@jenswittmann](https://community.modx.com/u/jenswittmann)\
**Replies:** 5\
**Last updated:** [September 24, 2026, 8:17am UTC](https://community.modx.com/t/can-you-use-babeltranslation-for-multilingual-and-link-targets-in-richtext/9143 "2026-09-24T08:17:43Z")

</div>

I have a multilingual site and use Babel with BabelTranslate to copy a page. In the German version, I have a link \[\[~2\]\] that I want to be translated into the corresponding English version. Simply replacing it with a er…

---

## [Kiln - NEW development stack tool for rapid site development](https://community.modx.com/t/kiln-new-development-stack-tool-for-rapid-site-development/9273)

<div class="topic-metadata">

**Author:** [@robcarey](https://community.modx.com/u/robcarey)\
**Replies:** 0\
**Last updated:** [September 19, 2026, 2:58am UTC](https://community.modx.com/t/kiln-new-development-stack-tool-for-rapid-site-development/9273 "2026-09-19T02:58:10Z")

</div>

Hey all. I’ve been working on a tool for the last several months initially as a tool for my own work that has since evolved into something I’m planning on launching in some commercial fashion. It has genuinely evolved i…

---

## [Best Approach for Developing a MODX Video-on-Demand (VOD) Website](https://community.modx.com/t/best-approach-for-developing-a-modx-video-on-demand-vod-website/9072)

<div class="topic-metadata">

**Author:** [@spheerys](https://community.modx.com/u/spheerys)\
**Replies:** 5\
**Last updated:** [September 15, 2026, 9:33pm UTC](https://community.modx.com/t/best-approach-for-developing-a-modx-video-on-demand-vod-website/9072 "2026-09-15T21:33:54Z")

</div>

Hi, I’m currently working on a project for a client who wants to sell video series and I’d like to get your advice on the best approach. Here are the key questions I’m considering: Payment & Hosting Strategy: Sho…

---

## [VueTools: one PrimeVue theme for MODX 3 components](https://community.modx.com/t/vuetools-one-primevue-theme-for-modx-3-components/9265)

<div class="topic-metadata">

**Author:** [@ibochkarev](https://community.modx.com/u/ibochkarev)\
**Replies:** 0\
**Last updated:** [September 15, 2026, 3:15am UTC](https://community.modx.com/t/vuetools-one-primevue-theme-for-modx-3-components/9265 "2026-09-15T03:15:48Z")

</div>

VueTools: one PrimeVue theme for MODX 3 components One of the small but important challenges when building Vue-based extras for MODX 3 is keeping their UI consistent with the Manager. With the latest VueTools changes, t…

---

## [Extensions for 3.x: Do any use a numeric (id) for loading its page(s)](https://community.modx.com/t/extensions-for-3-x-do-any-use-a-numeric-id-for-loading-its-page-s/9164)

<div class="topic-metadata">

**Author:** [@smg6511v2](https://community.modx.com/u/smg6511v2)\
**Replies:** 4\
**Last updated:** [July 30, 2026, 10:12am UTC](https://community.modx.com/t/extensions-for-3-x-do-any-use-a-numeric-id-for-loading-its-page-s/9164 "2026-07-30T10:12:59Z")

</div>

I’m hoping to unwind the following hot mess of a passage in the getPage method in modx.layout.js. I’m trying to determine if non-string paths are still a thing at all in 3.x as they were at some point in 2.x. if (action…

---

## [MODX 3.2.1 modSymLink irritation](https://community.modx.com/t/modx-3-2-1-modsymlink-irritation/9193)

<div class="topic-metadata">

**Author:** [@fritzkola](https://community.modx.com/u/fritzkola)\
**Replies:** 4\
**Last updated:** [July 22, 2026, 2:45pm UTC](https://community.modx.com/t/modx-3-2-1-modsymlink-irritation/9193 "2026-07-22T14:45:59Z")

</div>

Hello, I’m using symlink resources to output content from main resource. I’m confused, that if I use $resource-\>get(‘class\_key’) on the resource with class\_key MODX\\Revolution\\modSymLink I get MODX\\Revolution\\modDocum…

---

## [Future of ExtJS in ModX](https://community.modx.com/t/future-of-extjs-in-modx/1893)

<div class="topic-metadata">

**Author:** [@smg6511v2](https://community.modx.com/u/smg6511v2)\
**Replies:** 6\
**Last updated:** [June 18, 2026, 5:58am UTC](https://community.modx.com/t/future-of-extjs-in-modx/1893 "2026-06-18T05:58:01Z")

</div>

This is a question I’ve been meaning to ask of the core team for quite a while: Will ExtJS remain at the forefront of the manager UI for the foreseeable future and, if so, has bringing its version up to date been conside…

---

## [Proper MIGX config for renderOptionSelector?](https://community.modx.com/t/proper-migx-config-for-renderoptionselector/9098)

<div class="topic-metadata">

**Author:** [@dev\_willis](https://community.modx.com/u/dev_willis)\
**Replies:** 2\
**Last updated:** [April 23, 2026, 11:56am UTC](https://community.modx.com/t/proper-migx-config-for-renderoptionselector/9098 "2026-04-23T11:56:48Z")

</div>

I want to display the published status of items in the grid so I added a column for the published field using renderOptionSelector. I think I must have the renderoptions items set up wrong because, even though the form c…

---

## [Question for AI users](https://community.modx.com/t/question-for-ai-users/9054)

<div class="topic-metadata">

**Author:** [@bobray](https://community.modx.com/u/bobray)\
**Replies:** 2\
**Last updated:** [April 9, 2026, 9:35pm UTC](https://community.modx.com/t/question-for-ai-users/9054 "2026-04-09T21:35:07Z")

</div>

I’m curious about whether AI can successfully convert strftime() calls to use the IntlDateFormatter class. Has anyone tried it?

---

## [Highlight.js 11+ MODX Revo language definition](https://community.modx.com/t/highlight-js-11-modx-revo-language-definition/9056)

<div class="topic-metadata">

**Author:** [@demon.devin](https://community.modx.com/u/demon.devin)\
**Replies:** 1\
**Last updated:** [April 8, 2026, 9:15pm UTC](https://community.modx.com/t/highlight-js-11-modx-revo-language-definition/9056 "2026-04-08T21:15:11Z")

</div>

I’ve created a hybrid language definition for the Highlight.js Syntax Highlighter library for MODX Revolution that also supports the 3rd party extras pdoTool’s Fenom syntax and fastField tags. It handles the common “gotc…

---

## [Strange 404 Issue](https://community.modx.com/t/strange-404-issue/9038)

<div class="topic-metadata">

**Author:** [@dev\_willis](https://community.modx.com/u/dev_willis)\
**Replies:** 1\
**Last updated:** [March 28, 2026, 2:50pm UTC](https://community.modx.com/t/strange-404-issue/9038 "2026-03-28T14:50:07Z")

</div>

On a site I’m building, oftentimes, when I edit a chunk or template, every page in the whole site returns 404 until the cache is manually cleared. It doesn’t happen every single time I make an edit but it happens pretty …

---

## [Twig for MODX: new templating extra for MODX 3](https://community.modx.com/t/twig-for-modx-new-templating-extra-for-modx-3/9026)

<div class="topic-metadata">

**Author:** [@pbowyer](https://community.modx.com/u/pbowyer)\
**Replies:** 3\
**Last updated:** [March 18, 2026, 6:03pm UTC](https://community.modx.com/t/twig-for-modx-new-templating-extra-for-modx-3/9026 "2026-03-18T18:03:51Z")

</div>

Ever written a snippet whose only job is to loop over a list? Or stared at a chain of output modifiers trying to figure out which one handles the “empty” case? Twig for MODX adds if/else, for loops, and filters to your …

---

## [Shipping fee based on a TV value](https://community.modx.com/t/shipping-fee-based-on-a-tv-value/9025)

<div class="topic-metadata">

**Author:** [@saifullah](https://community.modx.com/u/saifullah)\
**Replies:** 1\
**Last updated:** [March 17, 2026, 6:36pm UTC](https://community.modx.com/t/shipping-fee-based-on-a-tv-value/9025 "2026-03-17T18:36:06Z")

</div>

If anyone is familiar with the commerce plugin, could they tell me about 2 things : if there is a way where I can add shipping fee on a product based on a TV value. to then there to be no shipping cost if they have mor…

---

## [How to add a field to an existing MIGXdb package?](https://community.modx.com/t/how-to-add-a-field-to-an-existing-migxdb-package/9022)

<div class="topic-metadata">

**Author:** [@dev\_willis](https://community.modx.com/u/dev_willis)\
**Replies:** 7\
**Last updated:** [March 14, 2026, 2:39pm UTC](https://community.modx.com/t/how-to-add-a-field-to-an-existing-migxdb-package/9022 "2026-03-14T14:39:35Z")

</div>

I have a CMP using MIGXdb and I need to modify it to include some checkboxes that will be stored as a JSON string. In the package manager I updated the schema, saved the schema, parsed the schema, hit the create table, a…

---

## [SMTP error causes MODX Error log to crash?](https://community.modx.com/t/smtp-error-causes-modx-error-log-to-crash/9013)

<div class="topic-metadata">

**Author:** [@dev\_willis](https://community.modx.com/u/dev_willis)\
**Replies:** 2\
**Last updated:** [March 6, 2026, 2:42pm UTC](https://community.modx.com/t/smtp-error-causes-modx-error-log-to-crash/9013 "2026-03-06T14:42:29Z")

</div>

I was just setting up SMTP authentication and when I tested it by trying to send a new password email to myself, I got an error saying it failed to send. I went to the modx error log to see what it said, but the error lo…

---

## [Hide Media Source without Removing Access?](https://community.modx.com/t/hide-media-source-without-removing-access/9012)

<div class="topic-metadata">

**Author:** [@dev\_willis](https://community.modx.com/u/dev_willis)\
**Replies:** 3\
**Last updated:** [March 6, 2026, 1:57pm UTC](https://community.modx.com/t/hide-media-source-without-removing-access/9012 "2026-03-06T13:57:10Z")

</div>

Is there a way to hide a media source from view but still give users permission to access it? I’ve set up a media source for MoreGallery and I want all users to be able to access it via MoreGallery but I don’t want them …

---

## [Keeping ContentBlocks resources synchronized with Babel?](https://community.modx.com/t/keeping-contentblocks-resources-synchronized-with-babel/9007)

<div class="topic-metadata">

**Author:** [@jenswittmann](https://community.modx.com/u/jenswittmann)\
**Replies:** 0\
**Last updated:** [March 3, 2026, 6:13pm UTC](https://community.modx.com/t/keeping-contentblocks-resources-synchronized-with-babel/9007 "2026-03-03T18:13:49Z")

</div>

Hey, I keep running into the same problem with multilingual sites. When updating documents, changes have to be made in all linked resources (DE, EN, FR, etc.). For example, if I replace an image and move a headline withi…

---

## [Discourse Forums Single Sign On with MODX](https://community.modx.com/t/discourse-forums-single-sign-on-with-modx/110)

<div class="topic-metadata">

**Author:** [@digitalpenguin](https://community.modx.com/u/digitalpenguin)\
**Replies:** 6\
**Last updated:** [February 23, 2026, 1:07pm UTC](https://community.modx.com/t/discourse-forums-single-sign-on-with-modx/110 "2026-02-23T13:07:15Z")

</div>

If anyone would like to have the same forum system as this (Discourse) working with MODX, feel free to have a peek at the modDiscourseSSO extra for MODX. https://modx.com/extras/package/moddiscoursesso

---

## [Context setting \`default\_media\_source\` is ignored. Workarounds?](https://community.modx.com/t/context-setting-default-media-source-is-ignored-workarounds/8977)

<div class="topic-metadata">

**Author:** [@dev\_willis](https://community.modx.com/u/dev_willis)\
**Replies:** 3\
**Last updated:** [February 11, 2026, 7:10pm UTC](https://community.modx.com/t/context-setting-default-media-source-is-ignored-workarounds/8977 "2026-02-11T19:10:02Z")

</div>

I’ve seen similar questions but none of those solutions have really fit my use-case. I have a site with a little over a dozen contexts and each context has it’s own media source, specified by a default\_media\_source sett…

---

## [Where is the REMOVE LOCKS button in modx 3.1.1](https://community.modx.com/t/where-is-the-remove-locks-button-in-modx-3-1-1/8972)

<div class="topic-metadata">

**Author:** [@modx829392](https://community.modx.com/u/modx829392)\
**Replies:** 2\
**Last updated:** [February 3, 2026, 9:59am UTC](https://community.modx.com/t/where-is-the-remove-locks-button-in-modx-3-1-1/8972 "2026-02-03T09:59:48Z")

</div>

hi Modx, in modx 3.1.1, I can’t find the “remove locks” feature that was on all previous modx versions - has it been removed, renamed or moved to some sub screen? thanks Ger

---

## [Can context setting values reference other values from the same context?](https://community.modx.com/t/can-context-setting-values-reference-other-values-from-the-same-context/8970)

<div class="topic-metadata">

**Author:** [@dev\_willis](https://community.modx.com/u/dev_willis)\
**Replies:** 1\
**Last updated:** [January 29, 2026, 11:23pm UTC](https://community.modx.com/t/can-context-setting-values-reference-other-values-from-the-same-context/8970 "2026-01-29T23:23:35Z")

</div>

I’m using XRouting to map contexts to subfolders on a site. I’d like to set the value of site\_url in the context settings to https://domain.com\[\[++base\_url\]\] so that I can set all site\_url values to the same thing. But t…

---

## [Advice for Search](https://community.modx.com/t/advice-for-search/7321)

<div class="topic-metadata">

**Author:** [@robcarey](https://community.modx.com/u/robcarey)\
**Replies:** 4\
**Last updated:** [January 7, 2026, 6:35pm UTC](https://community.modx.com/t/advice-for-search/7321 "2026-01-07T18:35:28Z")

</div>

Hey all, One thing I have always struggled with on MODX is a good, proper useful search function. I have used simplesearch, advanced search, msearch… all of them generally leave me lacking as far as good end user sear…

---

## [Help sorting chunks by name in snippet](https://community.modx.com/t/help-sorting-chunks-by-name-in-snippet/8960)

<div class="topic-metadata">

**Author:** [@rdegler](https://community.modx.com/u/rdegler)\
**Replies:** 2\
**Last updated:** [December 19, 2025, 9:13pm UTC](https://community.modx.com/t/help-sorting-chunks-by-name-in-snippet/8960 "2025-12-19T21:13:41Z")

</div>

I “wrote”(with AI help) a snippet to create documentation for chunks in a specified category. I would like to sort the chunks by name. \`\<?php // Retrieve chunks by category name (default to ‘Uncategorized’ if no prope…

---

## [MCP Server in local container setup for Modx](https://community.modx.com/t/mcp-server-in-local-container-setup-for-modx/8658)

<div class="topic-metadata">

**Author:** [@nixitup](https://community.modx.com/u/nixitup)\
**Replies:** 2\
**Last updated:** [December 16, 2025, 3:31pm UTC](https://community.modx.com/t/mcp-server-in-local-container-setup-for-modx/8658 "2025-12-16T15:31:28Z")

</div>

I’ve been prototyping my project frontend interfaces with Zed and Warp using their AI tools and recently started experimenting with Claude to generate MCP server specific to my project. I’m curious if it’s worth sharing…

[Next page](https://community.modx.com/c/dev/16.md?page=1)
