frm
Well-known member
For the life of me, I cannot get Routes to work.
I've got them inserted in the DB and recognized/visible in the ACP/Routes.
They will just not fire (i.e., on /hello-world).
I hard query deleting the routes, etc., rebuilding the add on, but it just won't ever route, always leaving me with a "Page not found" error.
Could someone please demonstrate a simple "hello-world" route on install (I'm fairly certain I have that done as it installs and shows in the ACP) where (generally) it would say "Hello world!" (I wouldn't expect an accompanying template for it, just to get to a 'template error' page to know the route is firing to work from there).
I tried searching for Kier's scratch pad thingy as a last resort to try and see if that had a route in it, but I can't find the tutorial anymore.
If not a script to do it, a small open source/MIT add on that has some routes that I can try to learn from?
I'd appreciate it!
I've got them inserted in the DB and recognized/visible in the ACP/Routes.
They will just not fire (i.e., on /hello-world).
I hard query deleting the routes, etc., rebuilding the add on, but it just won't ever route, always leaving me with a "Page not found" error.
Could someone please demonstrate a simple "hello-world" route on install (I'm fairly certain I have that done as it installs and shows in the ACP) where (generally) it would say "Hello world!" (I wouldn't expect an accompanying template for it, just to get to a 'template error' page to know the route is firing to work from there).
I tried searching for Kier's scratch pad thingy as a last resort to try and see if that had a route in it, but I can't find the tutorial anymore.
If not a script to do it, a small open source/MIT add on that has some routes that I can try to learn from?
I'd appreciate it!