05-19-2018, 05:16 AM
Hi Dan,
Unless I am missing something you have to register the content handler with a fixed URL. At least in the example And there are a fixed number of content handlers registered. I am making a small CMS. The user can add pages, remove pages, rename pages at any time. Thus, it has to be dynamic somehow. I dont know in advance what pages are going to exist. To make it more complex, each user has their own private pages/public pages. So I cannot just register all the pages.
Unless I am missing something you have to register the content handler with a fixed URL. At least in the example And there are a fixed number of content handlers registered. I am making a small CMS. The user can add pages, remove pages, rename pages at any time. Thus, it has to be dynamic somehow. I dont know in advance what pages are going to exist. To make it more complex, each user has their own private pages/public pages. So I cannot just register all the pages.