AccountPage_Controller under core_shop module has defined some actions under /account url.
I want to add a new action under /account, how can i do it?
AccountPage_Controller under core_shop module has defined some actions under /account url.
I want to add a new action under /account, how can i do it?
You haven't said which version of SilverStripe framework or cms you're using. Assuming v3 or above and depending on your scenario, using custom Extension
subclasses known as "Decorators" is prob the best way to go.
AccountPage_Controller
by creating your own custom controller with the desired custom action and $allowed_actions
staticextensions
block in your config.yml