Databases Reference
In-Depth Information
Browse-Mode Customization
Here are more parameters that control the appearance of results. These parameters
- except $cfg['RepeatCells'] - are located in themes/themename/layout.inc.php .
$cfg['Border'] : The HTML tables used to present results have no border
by default because this parameter is set to 0 ; we can put a higher number
(for example 1 or 2 ) to add borders to the tables.
$cfg['ThBgcolor'] : The tables mentioned have headers with #D3DCE3 as
the default background color.
$cfg['BgcolorOne'] , $cfg['BgcolorTwo'] : When displaying rows of
results, two background colors are used alternately; by default, those are
#CCCCCC and #DDDDDD .
$cfg['RepeatCells'] : When many rows of data are displayed, we may lose
track of the meaning of each column; by default, at each 100th cell, column
headers are displayed.
Creating an Additional Table
In our (simple) design, we know that we need another table: the authors table. The
authors table will contain:
Author identification
Author's full name
Phone number
To create this table, we must go back to the Database view. In the left panel. We click
on dbbook in the left panel, and request the creation of another table with three fields:
 
Search WWH ::




Custom Search