| version 1.29, 2003/07/27 21:49:08 |
version 1.30, 2003/07/29 19:50:43 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.28 2003/06/17 12:10:14 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.29 2003/07/27 21:49:08 nepto Exp $ --> |
| |
|
| <!-- Categories: |
<!-- Categories: |
| |
|
| Line 765 preceding "http://". |
|
| Line 765 preceding "http://". |
|
| <title id="configuration.tabs-feature.title">TABs feature</title> |
<title id="configuration.tabs-feature.title">TABs feature</title> |
| <para> |
<para> |
| |
|
| Because TABs feature is from the most important &name; features, it deserves |
Because the TABs feature is one of the most important &name; features, it |
| its own documentation section. |
deserves its own documentation section. |
| |
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| This features is for tables, which have more than a few fields. It enables you |
Tabbed groups of fields appear in specific page modes: Add, Change, coPy, |
| to group fields together into groups. Every group of fields than become |
View, or Delete. In List mode, when TAB settings are combined with <xref |
| accessible via TAB on the top or the bottom of the page. TAB has its own |
linkend="configuration.options" endterm="configuration.options">, users can |
| label, which can describe fields in the particular group. |
suppress the display of fields below the first TAB group. |
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
This feature is for tables, which have more than a few fields. It enables you |
| |
to group fields together into groups. Every group of fields then becomes |
| |
accessible via TAB on the top or the bottom of the page, what is based on the |
| |
<varname>['navigation']</varname> settings. TAB has its own label, which can |
| |
describe fields in a particular group. |
| |
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| TAB is defined in the first field of group. Every following field will belong |
TAB is defined in the first field of group. Every following field will belong |
| tothe same group under the same TAB till next TAB is defined. The first field |
to the same group under the same TAB untill the next TAB is defined. The first |
| must have its own TAB definition. If this definition is omitted, the first |
field must have its own TAB definition. If this definition is omitted, fields |
| fields will belong into first default group, which will be accessible under |
will belong to first default group, which will be accessible under TAB name |
| TAB name "Initial TAB". |
"Initial TAB". |
| |
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| TAB definition is very simple. Just define label on the TAB. |
TAB definition is very simple. Just define the label on the TAB (1st field, |
| |
5th field, 10th field, and so on). |
| |
|
| <example><title>TAB definition</title> |
<example><title>TAB definition</title> |
| <programlisting><![CDATA[ |
<programlisting><![CDATA[ |
| Line 796 $opts['fdd']['col_name']['tab'] = 'Count |
|
| Line 806 $opts['fdd']['col_name']['tab'] = 'Count |
|
| ]]></programlisting> |
]]></programlisting> |
| </example> |
</example> |
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
In List mode, to initially display individual fields from only the first TAB |
| |
group, apply <xref linkend="configuration.options" |
| |
endterm="configuration.options"> to all fields below the first TAB group, for |
| |
example: |
| |
|
| |
<example><title>Display options below the first TAB</title> |
| |
<programlisting><![CDATA[ |
| |
$opts['fdd']['col_name']['options'] = 'AVCPD'; // or possibly 'AVCPDF' |
| |
]]></programlisting> |
| |
</example> |
| |
|
| </para> |
</para> |
| </sect1> |
</sect1> |
| |
|