I did post this in Links Beta Forum as a reply with no luck but I think it is better here as it is a modifcation question;
I have added two new fields to links.def Below is the only additions made.
Dutch => [13, 'alpha', 0, 5, 0, 'No', ''],
English => [14, 'alpha', 0, 5, 0, 'No', '']
);
----------------
# Field Number of some important fields. The number is from %db_def above
# where the first field equals 0.
$db_dutch = 13; $db_english = 14;
---------------
# Hash of column names to radio values. If you use &build_radio_field, it will
# make a <INPUT TYPE="RADIO"> tag for you using the options specified in the hash.
%db_radio_fields = ( isDutch => 'Yes,No', isEnglish =>'Yes,No');
What I would like to know is how to put these radio fields into the templates, plus how would I get the links to display a language flag, depending on what they selected as the contents language?
I have looked at site_html_templates and I'm not confident enough to make any changes without guidance.
Thanks - Ready
I have added two new fields to links.def Below is the only additions made.
Quote:
# Definition of your database file. Dutch => [13, 'alpha', 0, 5, 0, 'No', ''],
English => [14, 'alpha', 0, 5, 0, 'No', '']
);
----------------
# Field Number of some important fields. The number is from %db_def above
# where the first field equals 0.
$db_dutch = 13; $db_english = 14;
---------------
# Hash of column names to radio values. If you use &build_radio_field, it will
# make a <INPUT TYPE="RADIO"> tag for you using the options specified in the hash.
%db_radio_fields = ( isDutch => 'Yes,No', isEnglish =>'Yes,No');
What I would like to know is how to put these radio fields into the templates, plus how would I get the links to display a language flag, depending on what they selected as the contents language?
I have looked at site_html_templates and I'm not confident enough to make any changes without guidance.
Thanks - Ready

