Gossamer Forum
Home : Products : Links 2.0 : Customization :

Def. of fields in links.def

Quote Reply
Def. of fields in links.def
Hi.

I´m in doubt which field is attached to the description of a category.

You know :

Camping (9)
Find alverdens campingpladser og camping relaterede ting her
<- I mean this !!

Since i can use html in the description, i want to setup the description as tables. But need more chr$ to do so.

I guess :

" %db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Title => [1, 'alpha', 40, 75, 1, '', ''],
URL => [2, 'alpha', 40, 150, 1, '', '^http|news|mailto|ftp'],
Date => [3, 'date', 15, 15, 1, \&get_date, ''],
Category => [4, 'alpha', 0, 150, 1, '', ''],
Description => [5, 'alpha', '40x3', 500, 0, '', ''],
'Contact Name' => [6, 'alpha', 40, 75, 1, '', ''],
'Contact Email' => [7, 'alpha', 40, 75, 1, '',
'.+@.+\..+'
],
Hits => [8, 'numer', 10, 10, 1, '0', '\d+'],
isNew => [9, 'alpha', 0, 5, 0, 'No', ''],
isPopular => [10, 'alpha', 0, 5, 0, 'No', ''],
Rating => [11, 'numer', 10, 10, 1, 0, '^[\d\.]+$'],
Votes => [12, 'numer', 10, 10, 1, 0, '^\d+$'],
ReceiveMail => [13, 'alpha', 10, 10, 1, 'Yes', 'No|Yes']
); "

the one marked in red is the one. Am i right ?


Kim




God love simple things - Like Links
Quote Reply
Re: [Webpoint] Def. of fields in links.def In reply to
close but that looks like the definition for a LINK.

try the category.def file.
should be number "2" Description and you'll just need to change the 500 to a bigger number. well, at least it'll give you more characters.

good luck

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Def. of fields in links.def In reply to
Hi QooQ

Worked perfect !

Thanks
God love simple things - Like Links