Difference between revisions of "Set up new RecordAdmin record type"

From Organic Design wiki
m (See also)
m (Actual procedure)
Line 11: Line 11:
 
== Actual procedure ==
 
== Actual procedure ==
 
*[[MW:Extension:RecordAdmin]]
 
*[[MW:Extension:RecordAdmin]]
*[[Extension:RecordAdmin]]
+
*[[Extension talk:RecordAdmin]]
 
*[[Wiki Organisation]]
 
*[[Wiki Organisation]]
 
*You can use an existing form as a template, such as [[Form:Member]]
 
*You can use an existing form as a template, such as [[Form:Member]]

Revision as of 21:26, 20 February 2009

Procedure.svg Set up new RecordAdmin record type
Organic Design procedure
Comments to add to extension talk RecordAdmin
  • Set up RecordAdmin on your wiki by adding the following lines to your LocalSettings.php file:
  • This also creates the "form" namespace you will need.
  • the first define(NS_FORM) is needed either way
  • the $wgExtraNamespaces is also needed if you don't use SMW/SF
  • If you have simpleforms set up, this will be using the "Form" namespace and you will have to ... first.

See also

Actual procedure

/* Member forms and tables */
form.recordadmin, .recordadmin-form, .recordadmin-template {
    background-color: #EDEDFA;
    padding:10px;
    width: 550px;
}

table.sortable tr.odd {
    background-color: white;
}
table.sortable td, table.sortable th {
    padding: 0 4px;
    margin: 0;
}
table.sortable th {
    text-align: center;
    display: none;
}
table.sortable td {
    overflow: hidden;
    white-space: nowrap;
    font-size: 8pt;
    display: none;
}

table.recordadmin .colOrganisation,
table.recordadmin .colJob,
table.recordadmin .colActivity,
table.recordadmin .colDate,
table.recordadmin .colTime,
table.recordadmin .colCity,
table.recordadmin .colEmail {
    display: table-cell;
}