Skip to content
This repository was archived by the owner on Jan 10, 2022. It is now read-only.
This repository was archived by the owner on Jan 10, 2022. It is now read-only.

How do you create custom fields? #260

@jackygrahamez

Description

@jackygrahamez

I am trying to figure out the custom fields component to the content type. I looked at this example
http://calip.so/first-pass-at-configurable-content-types.html

I entered this array of JSON objects into Custom Fields Definition: for plainlayout (a module I downloaded)

Fields  
[
   {"Name":"Content[Attending]","Type":"Select","Label":"Attending?","Instruct":"Will You Be Able To Attend?","Options":["Hell Yeah!","Sorry :("]},
   {"Name":"Content[NumAttending]","Type":"Text","Label":"# Attending","Instruct":"It Would Be Great If You Can Let Us Know How Many People Are Attending."},
   {"Name":"Content[Song]","Type":"Text","Label":"Song Request","Instruct":"Suggest A Song To Dedicate To Us On The Evening!"},
   {"Name":"Content[Message]","Type":"Textarea","Label":"Message","Instruct":"Leave Us A Personal Message."},
   {"Name":"Content[Code]","Type":"Text","Label":"Code","Instruct":"Your Code."}
  ]

Where are these fields supposed to appear in the content pages? Or to re-phrase how would you use these custom fields? So far I don't see any sign that they exist except in the database record.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions