I have spent quite some time figuring out how to make the category drop down list in add a link page to be more than 5 characters wide. With 500+ categories, and a site usually going into more than 5, it is very hard to scroll through all of the categories. I was trying to find where in the admin templates to make the drop down box say 10 wide but can not find it. Any suggestions would be much appreciated.
Feb 9, 2002, 2:37 PM
Administrator (9387 posts)
Feb 9, 2002, 2:37 PM
Post #2 of 4
Views: 2143
Hi,
This can only be changed in the code right now. Look at admin/Links/User/Add.pm and change:
$category = $html->get_all_categories(\@ids, 'CatLinks.CategoryID', 1);
and replace the 1 with how large a multi select you would like.
Cheers,
Alex
--
Gossamer Threads Inc.
This can only be changed in the code right now. Look at admin/Links/User/Add.pm and change:
$category = $html->get_all_categories(\@ids, 'CatLinks.CategoryID', 1);
and replace the 1 with how large a multi select you would like.
Cheers,
Alex
--
Gossamer Threads Inc.
Alex,
I tried this and it did not work. What I want is in regard to the Database editor, link and add, where you get your place to add a link. I want the box on the very bottom that lists the categories to be more than five lines wide vertically. I tried what you said and it did not work, perhaps you did not understand what I was requesting. I just want to be able to see more categories at a time as I am choosing them. Let me know if you have any ideas, as well as on the technical support issue I have sent to you some days ago of not being able to do exports after having done the update.
Cheers
Glen
I tried this and it did not work. What I want is in regard to the Database editor, link and add, where you get your place to add a link. I want the box on the very bottom that lists the categories to be more than five lines wide vertically. I tried what you said and it did not work, perhaps you did not understand what I was requesting. I just want to be able to see more categories at a time as I am choosing them. Let me know if you have any ideas, as well as on the technical support issue I have sent to you some days ago of not being able to do exports after having done the update.
Cheers
Glen
Feb 9, 2002, 3:24 PM
Administrator (9387 posts)
Feb 9, 2002, 3:24 PM
Post #4 of 4
Views: 2142
Hi,
Ah, I did misunderstand you. This still requires changing the code, but you want to edit admin/Links/Link.pm and change around line 567:
my $mult = shift || 5;
change the 5 to whatever height you'd like.
Cheers,
Alex
--
Gossamer Threads Inc.
Ah, I did misunderstand you. This still requires changing the code, but you want to edit admin/Links/Link.pm and change around line 567:
my $mult = shift || 5;
change the 5 to whatever height you'd like.
Cheers,
Alex
--
Gossamer Threads Inc.