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

From Organic Design wiki
m (Actual procedure)
m (Replacing page with '{{stub}} Not ready yet.')
 
Line 1: Line 1:
{{procedure}}
+
{{stub}}
;Comments to add to extension talk RecordAdmin
+
Not ready yet.
*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 ==
 
*[[Using forms in MediaWiki]]
 
 
 
== Actual procedure ==
 
*[[MW:Extension:RecordAdmin]]
 
*[[Extension talk:RecordAdmin]]
 
*[[Wiki Organisation]]
 
*You can use an existing form as a template, such as [[Form:Member]]
 
*For each record type, a form will have an equivalent template to go with it, in this case [[Template:Member]], this is needed to ...
 
*In order to change what is listed in the table beneath the form, you will need to add the following css to your [[MediaWiki:Common.css]] page:
 
 
 
<pre>
 
/* 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;
 
}
 
</pre>
 

Latest revision as of 03:21, 25 February 2009

Cone.png This article or section is a stub. Stubs are articles that have not yet received substantial attention from the authors. They are short or insufficient pieces of information and require additions to further increase the article's usefulness. The project values stubs as useful first steps toward complete articles.

Not ready yet.