Gossamer Forum
Home : Products : Links 2.0 : Discussions :

new field

Quote Reply
new field
Hello,
I added a new field to the links.def, but I keep gettting a syntax error at the line that I added, I really looked it over, but don't see the error. Can someone take a look at it and see what I am doing wrong,....its at http://www.thebizlist.com/links.def the added field is password.

Thanks,
Cam
Quote Reply
Re: new field In reply to
1. You need a comma in the end of the line.
2. You need to remove the comma after the last line.

John
Quote Reply
Re: new field In reply to
Umm Im sorry but that kinda confused me..add a comma, and remove the comma....heres whut I did to change it:
password => [14, 'alpha', 10, 10, 1, '', ''],
added the comma at the end of the line. Now what comma do I remove? You said remove the comma after the last line? Can you show me which line you are talking about....

Thanks,
Cam
Quote Reply
Re: new field In reply to
OK, I wasn't very clear ...

You have:

ReceiveMail => [13, 'alpha', 10, 10, 1, 'Yes', 'No|Yes']
password => [14, 'alpha', 10, 10, 1, '', ''],

But it should be:

ReceiveMail => [13, 'alpha', 10, 10, 1, 'Yes', 'No|Yes'],
password => [14, 'alpha', 10, 10, 1, '', '']

Hope this helps.
Quote Reply
Re: new field In reply to
Thank you!! That did it..


Cam