From RPM Wiki
| Table of contents |
Summary
This is a guide for programmers making a link list pages. Sometimes these are called "tasks" pages because they usually have a title like "Select a task". Example: The "Agents" page for staff linked to from the home page. These pages are just a list of links.
- Link list pages are used primarily off the home page and in the settings section.
Details
Columns
In general the second column should only be used for secondary tasks that affect the same set of data as tasks in the first column.
- Example: "Add an agency" would be put in the second column beside "Select an agency".
- When 2 columns are use rows that only have one link should span both columns.
Section links
Sometimes we want to put a link to a page in a different section. These links are differentiated from the primary links on the page which go deeper int he same section.
- Example: On the commission tasks page in the "Commissions" section there is a link to "Select a product" page in the "Suppliers" section.
- Use a section title row indicated what the new section will be followed by a section links row.
- These links are grouped per section. Each section gets one row containing one or more links.
- These links are always be placed after the primary links on the page.
HTML
Each cell should contain only a single MainLink (class mainLink). The exceptions are section link cells where multiple mainlinks (no class) are separated by line breaks and section title cells that just contain the section title text.
- Table
<table class="linkList">
- Tr
<tr>
- Single column td
<td class="linkList1">
- 2 column td
<td class="linkList">
- 2 column lone td
<td class="linkList1" colspan=�2�>
- Section title td
<td class="linkListSectionTitle" colspan="2">
- Section links td
<td class="linkListSectionTitle" colspan="2">
- This page was last modified 16:21, 7 Nov 2005.
- This page has been accessed 676 times.
