halftrainedharry

Results 51 comments of halftrainedharry

A more elegant solution is probably to use a sort function: ```php $savedValuesIndexLookup = array_flip($savedValues); usort($selections, function($a, $b) use ($savedValuesIndexLookup) { return $savedValuesIndexLookup[$a['value']] $savedValuesIndexLookup[$b['value']]; }); ```

In the file `core/vendor/james-heinrich/phpthumb/phpthumb.class.php`, remove the word `mixed` on line 317 to fix the issue.

> did you report this in the phpthumb repository? I did create a pull request 3 days ago. https://github.com/JamesHeinrich/phpThumb/pull/218 > If this does not get fixed upstream, there's not a...

In my opinion, the first step would be to create a proper **API endpoint** to query released MODX versions. Currently, this widget gets the data from the following XML file...

As someone not involved in the development of MODX, there are certain things that make me scratch my head. There exists an API to check for every installed extra if...

> often times it's recommended to upgrade to the final patch version before moving to the next feature/minor version. @smg6511 I was told that this is unnecessary and the recommendation...

There exist the 2 regions `modx-content-above` and `modx-content-below` that you could use.

Does the pull request #16415 fix the issue?

It seems this bug was introduce in MODX 3.0.2 by #16249. This line in the code https://github.com/modxcms/revolution/blob/ad6977df46b2d153c5696968f0fdff76e0a99839/core/src/Revolution/Processors/Browser/Browser.php#L146 deletes the `.` in the directory path, if there is (for example) a...