Blog Home


Add noopener to Link Tags II

Using a plugin to add noopener noreferer to link tags.

Add noopener to Link Tags I

Fix a security vulnerability with target="_blank"

Scraping, Parsing, and API Use IX

A general-purpose time formatting function, and parsing a Markup readme.md file to get the authors of an extra

Scraping, Parsing, and API Use VI

Using the GitHub API to extract information

Scraping, Parsing, and API Use V

Extracting data from MODX repository pages

Getting TV Values from Another Context

Here's a trick for getting the TV values for a resource that's in another context

Widget to Toggle a System Setting

Create a widget to toggle a Yes/No System Setting with the click of a button

Final Argument to getOption()

More details about how the final argument to $modx->getOption() works

Calling getResources in Code

Get the results of a call to getResources in PHP code (and a useful trick for the &where property).

Template Report with Pagetitles

Add pagetitles to the template report created in the previous Blog article.