Gossamer Forum
Home : Products : Links 2.0 : Customization :

New Field (Image)

Quote Reply
New Field (Image)
Hey guys,
I read the posts on adding new fields but im still confused about it... Can you please tell me what and where i have to put in in order to enable a user submit a small thubm along with other info, and that it will show up on the links listing.

you can also contact me by ICQ: 18903943

thanx :)

Quote Reply
Re: New Field (Image) In reply to
Hi,
Modify Links.def.
Add This Under This Line.
ReceiveMail => [13, 'alpha', 10, 10, 1, 'Yes', 'No|Yes'],
-----------------------------------------------------------
Thumb => [14, 'alpha', 50, 500, 1, 'http://', '^http']
Change 14 to whatever number comes after the last line.

In Add.html, Add This Following Line.
<input name="Thumb" value="" size="50">

In Add_error.html, Add This Following Line.
<input name="<%Thumb%>" value="" size="50">

In Add_success.html, Add This Following Line.
Thumb: <%Thumb%>
Do The Same Thing In Modify.html

In Modify.html, Add This Following Line.
<input name="<%Thumb%>" value="" size="50">

And In Link.html, Add This Following Line.
<%Thumb%>

Quote Reply
Re: New Field (Image) In reply to
Decent instructions...however, you forgot to mention about updating the links.db with another column after the field is added to the links.def file.

Regards,

Eliot Lee

Quote Reply
Re: New Field (Image) In reply to
thnx man

Anthro what do i have t modify in links.db?

tahnx

Quote Reply
Re: New Field (Image) In reply to
Add a delimeter where the new field would be located. If the new field is the last field in the record, then add a delimeter to the end of each line (the default is a pipe, '|').

--Drew
Quote Reply
Re: New Field (Image) In reply to
You can use too upgrade.pl script from Crisco (?) or Bobsie (?) or?

Ciao

Quote Reply
Re: New Field (Image) In reply to
oi... *vewwy confused*

hmm...umm... :(
can someone contact me by icq: 18903943 and help me with this? pweese ;)

ty

Quote Reply
Re: New Field (Image) In reply to
Search the Links 2.0 Customization Forum for Bobsie upgrade and you will find Threads where a script has been posted. Also, there is an FAQ in the Resource Center (click on Resource at the top of the page) and then go to Links: FAQ and you will see an FAQ that addresses adding fields to your existing database.

Regards,

Eliot Lee