Social Platform

A introduction to the Social Platform

This is a public LiveConnections Guide  public

HiveLive Lesson

    Types - Details
    HiveLive Lesson posted 5/29/07 by Jeremy, last edited 8/19/09 by Sean Bell
    382 Views
    title:
    Types - Details
    body:

    Posts are of a certain Type (that is, of a particular structure), and Types are made up of Fields. Examples of Fields include Title, Image, Message Body, Link. Fields can be of a particular Field Type, which is to say Field Types give you the flexibility to store different kinds of data. A "Title" might be plain text, an "Image" might be an uploaded image file, a "Message Body" might be HTML, and a "Link" might be a URL to an online resource.

    The LiveConnect platform currently supports 22 unique Field Types, which can be grouped into several categories:

    Text Fields

    • Textbox - plain text on a single line
    • Textarea (wysiwyg/html) - "word style" formatting and html control
    • Textarea (plain text) - plain text of more than one line
    • Textarea (textile) - wiki-like formatted text with Textile markup language

    Code

    • Code - plain, mono-spaced text that retains all spacing

    Embedded Media

    • Image - a hotlinked or uploaded image
    • Flash - include a flash file
    • Video - upload a video or link from somewhere else

    Form Controls

    • Select - a select (drop down) box
    • Multi-select - a multi-select (drop down) box
    • Radio Buttons - single option radio buttons
    • Checkboxes - multi choice checkboxes

    Dates & Times

    • Date - include a date
    • Event - an event date that can link to the calendar

    Files

    • File - an uploaded file

    Special

    • Link - a URL to a web resource
    • Postal Address - for a real world address
    • Email Address - a linked email address
    • Instant Messenger - add a hook for your im
    • Fixed value - include a fixed piece of information

    Ratings (deprecated)

    • Thumbs Up/Down - a simple binary icon
    • Icon Rating - rate something to 5 stars (or similar)

    Some Field Types require a list of parameters to help tell them how to act. For example, the Icon Rating requires parameters of count and icon - so "5, star" will create a rating mechanism to 5 stars, while "4, fork" will create a rating mechanism to 4 forks. More information about the parameters for certain Field Types is available here