Blesta Addons Posted August 4, 2015 Report Posted August 4, 2015 Hello it would be fantastic to add option to add our own routes in admin interface . also to allow plugins set thier own route without the need to change the route.php in conig folder . the route.php should be updated to fetch routes from database and set them in the end of the file . Quote
Tyson Posted August 7, 2015 Report Posted August 7, 2015 This sounds like something possible via a plugin and vQmod. Quote
Blesta Addons Posted August 7, 2015 Author Report Posted August 7, 2015 This sounds like something possible via a plugin and vQmod. vQmod is a third party software . via a plugin , this something we can discuss , we can set routes without changing any core file ? in wich function we can set routes ? in preaction events ? Quote
Tyson Posted August 7, 2015 Report Posted August 7, 2015 If the intention is to update the routes.php configuration, then the file itself will need to be updated, or you would need to use vQmod. Alternatively, you could build routes into an .htaccess. Quote
serge Posted August 8, 2015 Report Posted August 8, 2015 Please kindly note the .htaccess way can not apply to Nginx but I'm just fine with how route work/are set by now Quote
activa Posted August 8, 2015 Report Posted August 8, 2015 If the intention is to update the routes.php configuration, then the file itself will need to be updated, or you would need to use vQmod. Alternatively, you could build routes into an .htaccess. changing route in routes.php is fine, but we should every upgrade re-add our routes . the idea is nice if the additional routes can be rerieved from databse . that way we can controle routes totally without touching any core file . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.