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?

Quote Reply
Re: Regarding links.def In reply to
It means just that...DEFAULT values that are placed in those fields. Pretty clear, if you ask me.

Regards,

Eliot Lee
Quote Reply
Re: Regarding links.def In reply to
wat is receivemail for?

Quote Reply
Re: Regarding links.def In reply to
Means whether they want to recieve mail or not! Ie. when you mail link owners....

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml