Hello
In Admin/Links/SQL.pm, you can find s0omething like this in your column definitions:
Links::language('prompt_Status')
more definitions about the column are found in the def files.
Now I have a question:
I want to add collums in SQL.pm and in the proper def file
for example:
I add in the linktable the column Badlink like this:
Badlink => { pos => 23, type => 'INT', not_null => 1, default => 0, regex => '^\d+$', form_display => Links::language('prompt_Badlink') },
and i add this in the links.def:
'Badlink' => {
'not_null' => '1',
'form_size' => '10',
'form_type' => 'TEXT',
'pos' => '23',
'regex' => '^\d+$',
'form_display' => 'Badlink',
'default' => '0',
'type' => 'INT'
},
this works fine after setup but one thing:
I get prompt_Badlink as form display
i should add something in Links::language
but it refers to language.txt and nothing can be found about that. Can anybody tell me what's wrong?????
In Admin/Links/SQL.pm, you can find s0omething like this in your column definitions:
Links::language('prompt_Status')
more definitions about the column are found in the def files.
Now I have a question:
I want to add collums in SQL.pm and in the proper def file
for example:
I add in the linktable the column Badlink like this:
Badlink => { pos => 23, type => 'INT', not_null => 1, default => 0, regex => '^\d+$', form_display => Links::language('prompt_Badlink') },
and i add this in the links.def:
'Badlink' => {
'not_null' => '1',
'form_size' => '10',
'form_type' => 'TEXT',
'pos' => '23',
'regex' => '^\d+$',
'form_display' => 'Badlink',
'default' => '0',
'type' => 'INT'
},
this works fine after setup but one thing:
I get prompt_Badlink as form display
i should add something in Links::language
but it refers to language.txt and nothing can be found about that. Can anybody tell me what's wrong?????