Changes between Version 42 and Version 43 of DeveloperGuidelinesS3Framework


Ignore:
Timestamp:
06/17/10 10:31:44 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesS3Framework

    v42 v43  
    7373
    7474=== Optional ===
     75Other reusable fields are available to add Foreign Key links to key tables, such as 'location_id' to add a GIS location for Mapping, 'person_id' to add a Person & 'organisation_id' to add a link to an Organisation.
     76
    7577List output are made more functional by this .represent 'widget':
    7678{{{
     
    9193
    9294Form field can be made to use a TEXTAREA by marking the field as being type 'text':
    93    {{{db.Field('field', 'text'),}}}
     95   {{{Field('field', 'text'),}}}
    9496
    9597Form field can be made to use a SELECT dropdown by setting the field as a lookup to another table...linked to the 'id' field to allow [wiki:DeveloperGuidelinesDatabaseSynchronization Database Synchronization], but displaying a more user-friendly field (such as 'name'):
    9698{{{
    97 db.Field('field', db.othertable),
     99Field('field', db.othertable),
    98100
    99101db.table.field.requires = IS_NULL_OR(IS_IN_DB(db, 'othertable.id', 'othertable.name'))
     
    165167----
    166168DeveloperGuidelines
    167 DeveloperGuidelines