Switch resource templates on the fly, for the MODX Revolution content management framework.