I would now like to make sub pages:
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?