Gossamer Forum
Home : Products : Links 2.0 : Customization :

Consequences of adding a new field in cat.db

Quote Reply
Consequences of adding a new field in cat.db
I'm wondering where else I have to make changes after having added a new field at the 4th position (!) in my categories.db.

I know in site_html.pl I can't use for example $related anymore, but will have to use $category{$category_name}[8] instead.

Also in nph-build.cgi I found I'll have to set up something like $description = @{$category{$cat}}[2];
($related, $meta_name, $meta_keywords, $header, $footer, $nonenglish) = @{$category{$cat}}[4..9];

- anywhere else?

Before one complains - I don't want you to tell me 100 places where I have to set up variables, but if someone told me it's a 100 different places I'll better switch back to my former settings.

Thanks everyone,
Denis
Quote Reply
Re: Consequences of adding a new field in cat.db In reply to
That should do it. I know of no other places where the field position is used for the site_html.pl file in the nph-build.cgi file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Consequences of adding a new field in cat.db In reply to
Thanks
Quote Reply
Re: Consequences of adding a new field in cat.db In reply to
You're welcome.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums