Blog Home


Error Call to Member Function get on null IV

Put a message in the error log when the resource has an invalid parent

Error Call to Member Function get on null III

More efficient code for the sanity check preventing the "Error call to member function get on null."

Error Call to Member Function get on null II

Preventing the "Error: Call to a member function get on null" with a sanity check.

When a Widget Crashes the Manager

What to do when a widget crashes the MODX Manager

Add noopener to Link Tags VII

A plugin to correct link tags with target="_blank" as objects are saved to the database

Add noopener to Link Tags VI

Final version of the code to correct link tags with target="_blank" in template variables

Add noopener to Link Tags V

Fix link tags with target="_blank" in TVs

Add noopener to Link Tags IV

Improving the logic that updates the link tags

Add noopener to Link Tags III

A snippet to fix the links, then save them to the database

Add noopener to Link Tags II

Using a plugin to add noopener noreferer to link tags.