apostrophecms / apostrophe-blog

Blogging for the Apostrophe 2 content management system for Node.
22 stars 13 forks source link

README does not really cover how to get started adding actual editable content to your blog posts, etc. #31

Open bastianhilton opened 4 years ago

bastianhilton commented 4 years ago

I dont know if this a bug or a weird design by fault but I can't seem to find a way to add image and text to articles upon creation. Why isn't this an option. I can't seem to find any documentation on this behavior. Hopefully im missing something, please help

boutell commented 4 years ago

The apostrophe-blog documentation assumes that:

That's a lot to assume, so I'll turn this into a documentation request ticket.

What you really need to know is here though:

https://docs.apostrophecms.org/core-concepts/reusable-content-pieces/reusable-content-with-pieces.html#creating-a-directory-of-people-with-pieces

You can add schema fields as you would to any piece type, including images, rich text, etc., and you can set up contextual editing on the blog post's "show page" in show.html as you would for any piece.

On Sat, Jul 11, 2020 at 4:44 PM Sebastian hilton notifications@github.com wrote:

I dont know if this a bug or a weird design by fault but I can't seem to find a way to add image and text to articles upon creation. Why isn't this an option. I can't seem to find any documentation on this behavior. Hopefully im missing something, please help

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apostrophecms/apostrophe-blog/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAH27NXK3BYR7AM2LNNVETR3DFMJANCNFSM4OXO2KZA .

--

THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER APOSTROPHECMS | apostrophecms.com | he/him/his

stuartromanek commented 4 years ago

@bastianhilton it also might help to look at a fully working implementation of the blog module by looking at how the Open Museum project handles articles and article-pages https://github.com/apostrophecms/apostrophe-open-museum

bastianhilton commented 4 years ago

@bastianhilton it also might help to look at a fully working implementation of the blog module by looking at how the Open Museum project handles articles and article-pages https://github.com/apostrophecms/apostrophe-open-museum

I was looking at open museum but didn't see the apostrophecms blog module in app.js. are they using it or is it replaced with just pieces or something

boutell commented 4 years ago

If you look in app.js you will see several references to apostrophe-blog. It is being subclassed to create a new "articles" module, which makes it more convenient to create other non-interfering subclasses of the blog later if desired.

On Sun, Jul 12, 2020 at 3:51 AM Sebastian hilton notifications@github.com wrote:

@bastianhilton https://github.com/bastianhilton it also might help to look at a fully working implementation of the blog module by looking at how the Open Museum project handles articles and article-pages https://github.com/apostrophecms/apostrophe-open-museum

I was looking at open museum but didn't see the apostrophecms blog module in app.js. are they using it or is it replaced with just pieces or something

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/apostrophecms/apostrophe-blog/issues/31#issuecomment-657187960, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAH27PLKD5ZXW3XDUONBC3R3FTQJANCNFSM4OXO2KZA .

--

THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER APOSTROPHECMS | apostrophecms.com | he/him/his