I tried to use Microblog but migrating my current structure to this project seems more work.
So, I tried to create the structure in my new project,
a) I created the cms folder
b) created author and posts
c) Created a Journal.php and Post as suggests
- Add a Collection component to the page that lists content.
- Add a Single Item component to the detail page.
- Make sure any pages that read CMS data use the
.phpextension.
Basically the same structure of a Microblog I copied over. You can see in the attached image, the Posts page has become a menu item ![]()
Also, my current site is a mix of html and php where the Journal is only php and all other are html sites.
When I run it the page is http://127.0.0.1:54562/journal/post/ this is also wrong! and The content is ‘No item found’
What am I doing wrong, is there a better approach?
