Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Regarding links.def

Quote Reply
Regarding links.def
In Reply To:
# System defaults. When adding new links or modifying links, these fields
# can not be overwritten by a user.
%add_system_fields = (
isNew => 'No',
isPopular => 'No',
Hits => '0',
Rating => 0,
Votes => 0,
ReceiveMail => 'No'
);
What do mean by systems default? Does it mean this are automcatically changed by the links and we cannot change at all? If this is so... y can i change hits myself?

In Reply To:
# Hash of column names to possible options. If you want to use a select form
# field, you can use &build_select_field in your HTML page. This routine will
# make a <SELECT> input tag using the following values:
%db_select_fields = (
isNew => 'Yes,No',
isPopular => 'Yes,No',
ReceiveMail => 'Yes,No',
isPick => 'Yes,No',
);
Does this mean which is the default configuration? When i add link the above is selected right? Let say i set it to Receivemail => 'No,Yes' and the system defaults is ReceiveMail => 'No'... will there be any error?

and wat is receivemail for?

Subject Author Views Date
Thread Regarding links.def GUYc 1986 May 23, 2001, 1:41 AM
Thread Re: Regarding links.def
Stealth 1921 May 23, 2001, 7:09 AM
Thread Re: Regarding links.def
GUYc 1918 May 23, 2001, 10:41 AM
Post Re: Regarding links.def
glennu 1918 May 23, 2001, 10:48 AM