I am trying to use Links2.0 as a Content Management System or build a website of 100īs of pages in an easier manner. For that reason there is no need of several fields and have changed links.def to:
Database Definition: LINKS
# --------------------------------------------------------
# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 20, 1, '', ''],
Title => [1, 'alpha', 40, 75, 1, '', ''],
Date => [2, 'date', 15, 15, 1, \&get_date, ''],
Category => [3, 'alpha', 0, 150, 1, '', ''],
Description => [4, 'alpha', '80x3', 50000, 0, '', ''],
'Contact Name' => [5, 'alpha', 40, 75, 1, '', ''],
);
and
# where the first field equals 0.
$db_category = 3; $db_modified = 2; $db_number = 0;
$db_title = 1;
So far Links2.0 has met my needs but when I build pages, it automatically eliminates ID number and inserts a "yes" instead. Any idea on what needs to be changed to avoid this will be of great help.
Database Definition: LINKS
# --------------------------------------------------------
# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 20, 1, '', ''],
Title => [1, 'alpha', 40, 75, 1, '', ''],
Date => [2, 'date', 15, 15, 1, \&get_date, ''],
Category => [3, 'alpha', 0, 150, 1, '', ''],
Description => [4, 'alpha', '80x3', 50000, 0, '', ''],
'Contact Name' => [5, 'alpha', 40, 75, 1, '', ''],
);
and
# where the first field equals 0.
$db_category = 3; $db_modified = 2; $db_number = 0;
$db_title = 1;
So far Links2.0 has met my needs but when I build pages, it automatically eliminates ID number and inserts a "yes" instead. Any idea on what needs to be changed to avoid this will be of great help.