pepebe
4/24/2012 - 9:25 PM

MODx: Manually adding a Component to MODx Revolution

MODx: Manually adding a Component to MODx Revolution

Source: http://www.unchi.co.uk/2011/05/20/manually-adding-a-component-to-modx-revolution/

BY KEIRON – 20/05/2011

Make a new folder in core/components/ for the new component

Go to Namespaces and Create New – point the path to the new folder

Now go to Actions and Create an Action on the new namespace with these settings

controller = access
Load Headers checked

On the Top Menu add a menu under Components add a Lexicon Key, a description and an Action that points to the already created Action

Clear Cache
Flush Permissions

Now just develop the required code in the php file.


Like this? Maybe you could buy me a coffee.