Page 1 of 1

How do you put a contenttype into specific taxonomy

PostPosted: Mon Dec 30, 2013 6:28 pm
by streeff
Is there a way to define in contenttypes.yml that all records of a certain contenttype will go into a specific chapter/group that is in the taxonomy structure?

Re: How do you put a contenttype into specific taxonomy

PostPosted: Wed Jan 08, 2014 3:18 pm
by bart
Do you mean they should use a default chapter or group?

Re: How do you put a contenttype into specific taxonomy

PostPosted: Sat Jan 11, 2014 1:47 pm
by streeff
Indeed.

Re: How do you put a contenttype into specific taxonomy

PostPosted: Sat Jan 18, 2014 10:35 am
by Bob
Try the following in your taxonomy.yml:

Code: Select all
categories:
    name: Categories
    slug: categories
    singular_name: Category
    singular_slug: category
    behaves_like: categories
    multiple: true
    options: [ news, events, movies, music, books, life, love, fun ]
    default: [ movies ]