discuss.answer
-
- 24,544 Posts
On the Elements tab in the Manager, in the tree at the left, right-click on the Plugins header and select "New Plugin".
1. Put Gateway in the Name field (or whatever you want to call it, the name is arbitrary)
2. Paste the code into the plugin's Plugin Code (php) field.
3. Click on the System Events tab and put a checkmark next to OnHandleRequest.
4. Click on the "Save" button at the upper right.