Gossamer Forum
Home : Products : Links 2.0 : Discussions :

admin_html.pl - Editing the "related" box

Quote Reply
admin_html.pl - Editing the "related" box
I really want to make the "related" box in the admin screen bigger. (Because I have so many categories and would like to use this box to see the categories I already have).

I tried editing the categories.def file in the related section but no change occured.

I believe I have to edit the admin_html.pl file however I don't know which part.

Anyone know how to do this?
Quote Reply
Re: admin_html.pl - Editing the "related" box In reply to
Actually, you need to modify the following line in db_utils.pl, sub build_html_record_form (I have bolded the part that needs changing):

Quote:
if ($db_select_fields{"Mult-$field"}) { $output .= "<tr><td align=right valign=top width=20%><$font>$field:</font></td><td width=80%>" . &build_select_field($field, $rec{$field}, $name, "MULTIPLE SIZE=3") . "</td></tr>\n"; }

Just change the size to what you want. I use 6 myself.

I hope this helps.