I’d like to implement a blog on my site.
I can do this easily enough using the built in scaffolding, and then
amend it accordingly.
However, I’d quite like users to be able to comment on blogs, and to
allow for user’s to be stored in the database. In my head I have a
blogs table with the following columns
From here, each time i create a blog, the user_id from the session is
placed in the table.
I would quite like the ability for users to then comment on a post
once logged in.
Has anyone done this. or know of a good tutorial that covers this?
On a side note:
At present the user_id is not being set in the blog table. Any reason