Gossamer Forum
Home : Products : Links 2.0 : Customization :

Taking Away Some Fields

Quote Reply
Taking Away Some Fields
I am creating a sort of like classifed ad mod, But I am the only one adding stuff from the admin. I need to take some fields, URL, Contact Name, Contact Email, Hits, Rating, Pop, Votes, Receive Mail, I took them away and then anything else in links.def that needed taken away since I took off those fields. Then I tested and nph-build didn't work, So I went to that and did all I could see.

What would I need to do to take away them, Or would you think I would be better off using dbman?


---------
Jeremy

Quote Reply
Re: Taking Away Some Fields In reply to
Could you show me the fields you have in links.def

Paste the code...

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: Taking Away Some Fields In reply to
Here it Is.

%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Title => [1, 'alpha', 40, 75, 1, '', ''],
Date => [2, 'date', 15, 15, 1, \&get_date, ''],
Category => [3, 'alpha', 0, 150, 1, '', ''],
Description => [4, 'alpha', '40x3', 500, 0, '', ''],
Price => [5, 'numer', 10, 10, 1, 0, ''],
Image => [6, 'alpha', 40, 75, 1, 'http://', '^http:']
);

Those are 2 ' at the end of each one, Even though they look like quotes here.

------------
Jeremy

Quote Reply
Re: Taking Away Some Fields In reply to
Could you tell me the error that nph-build gives.

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: Taking Away Some Fields In reply to
Well it kind of works but you know where the javascript errors are down to the bottom left where a little yellow thing in ie shows and you click on that. It comes up that and says it cant locate nph-bulid even though that page shows up when I build it.


--------
Jeremy

Quote Reply
Re: Taking Away Some Fields In reply to
I don't understand what you are saying.

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: Taking Away Some Fields In reply to
Ok I just tested again and the actual info actually goes through with no problem But still it shows up this when I click the little button down in the bottom left.

Line: 55
Char: 5
Error: Access Denied
Code: 0
URL: nph-build.cgi

That can't be permissions Since I can actually see the page.