AndyB
Well-known member
I would like to create an add-on that allows an admin to change the date of a post. Under each post there will be a link the admin can click. A form will be displayed and when submitted the database is updated. I already have a stand alone php script to do this, but I would like to learn how to create a proper add-on.
Jake told me the initial steps.
1) You need to create a route so you have a location to request with the link.
2) You need a controller for that route to actually execute php code when that link is clicked.
3) Then add the link to the template.
So lets start with step #1, how do I create a route?
Jake told me the initial steps.
1) You need to create a route so you have a location to request with the link.
2) You need a controller for that route to actually execute php code when that link is clicked.
3) Then add the link to the template.
So lets start with step #1, how do I create a route?