• MODX.com

    1,618 downloads

cmpLauncher

cmpLauncher is an extra by romain, first released on 2011-06-27.

Package Description

Initial beta release.

Usage/Installation Instructions

Once installed (via the package manager) edit the plugin property named "cmp" (check http://rtfm.modx.com/display/revolution20/Properties+and+Property+Sets#PropertiesandPropertySets-AssigningPropertySetstoElements for more infos on properties) and use the following syntax:

t:id:id,r:id:id:1,…

Parameters:

  • the first one is the constraint (t stand for template, r for resource)
  • the second one is the template or resource ID
  • the third one is the action ID
  • the fourth parameter, if set, enables the automatic redirection to the CMP

Please, for now declare resources constraints after all your templates ones so they can override. For example, let's say you want all resources using template ID 3 provide a link to the action ID 80, but you want the resource ID 20 (which uses the template ID 3) to automaticly redirect the user to action 79, you would have to use:

t:3:80,r:20:79:1

Details

Developer(s)
romain
Released
2011-06-27
First seen
2011-06-27
License
GPLv2
Supported databases
Minimum MODX Requirement
2.1

cmpLauncher Releases

Vendor Signature Released on
MODX.com 1.0.0-beta2 2011-06-27 (13 years ago)