apostrophecms-legacy / apostrophe-blog

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

add author field to blog items #2

Open kylestetz opened 11 years ago

kylestetz commented 11 years ago

When iterating over blog posts it would be nice to add a byline with a link to an author. This would require 1. a field for the author e.g. item.author, and 2. a URL to filter by a specific author

novascreen commented 10 years ago

this is an old issue, but i thought i'd share this: i just added a field to the blog module

{
  name : "_author",
  label : "Author",
  type : "joinByOne",
  withType: 'person',
  idField: 'authorId',
}

all i have to figure out is how to prepopulate it with the current user

boutell commented 10 years ago

Nice. There will be permissions issues down the road no doubt with clients who want more control over who can set the authorship of what.

On Mon, Apr 14, 2014 at 5:47 PM, Thomas Hermann notifications@github.comwrote:

this is an old issue, but i thought i'd share this: i just added a field to the blog module

{ name : "_author", label : "Author", type : "joinByOne", withType: 'person', idField: 'authorId', }

all i have to figure out is how to prepopulate it with the current user

— Reply to this email directly or view it on GitHubhttps://github.com/punkave/apostrophe-blog/issues/2#issuecomment-40422424 .

Tom Boutell Lead Developer P'unk Avenue 215 755 1330 punkave.com window.punkave.com