Jaxel
Well-known member
Okay, previously I created a mod active at:
http://xen1.8wayrun.com/portal/
I would now like to make sub pages:
http://xen1.8wayrun.com/portal/lorem
http://xen1.8wayrun.com/portal/ipsum
http://xen1.8wayrun.com/portal/dolor
Basically, I will have a database table of subpages (this will be a lite CMS) where the name of the page will be the unique key (if a numeric node id is required, then thats okay too). So when someone goes to /portal/lorem, it will extract the word "lorem" and search the database for the matching result; then display it. Since there will be many pages, and all with different names, its not feasible to create an action for each and every page. So I want the actions created dynamically, the same way thread and member page actions are created.
How would something like this be accomplished?
http://xen1.8wayrun.com/portal/
I would now like to make sub pages:
http://xen1.8wayrun.com/portal/lorem
http://xen1.8wayrun.com/portal/ipsum
http://xen1.8wayrun.com/portal/dolor
Basically, I will have a database table of subpages (this will be a lite CMS) where the name of the page will be the unique key (if a numeric node id is required, then thats okay too). So when someone goes to /portal/lorem, it will extract the word "lorem" and search the database for the matching result; then display it. Since there will be many pages, and all with different names, its not feasible to create an action for each and every page. So I want the actions created dynamically, the same way thread and member page actions are created.
How would something like this be accomplished?