apostrophe-blog icon indicating copy to clipboard operation
apostrophe-blog copied to clipboard

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

Open bastianhilton opened this issue 4 years ago • 4 comments

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

bastianhilton avatar Jul 11 '20 20:07 bastianhilton

The apostrophe-blog documentation assumes that:

  • you know that apostrophe-blog posts are pieces
  • you know that developers typically add their own schema fields to pieces
  • you've read the apostrophe pieces documentation and already know how both pieces and pieces-pages work

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 [email protected] 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

boutell avatar Jul 11 '20 21:07 boutell

@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

stuartromanek avatar Jul 11 '20 23:07 stuartromanek

@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

bastianhilton avatar Jul 12 '20 07:07 bastianhilton

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 [email protected] 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

boutell avatar Jul 12 '20 18:07 boutell