How can I remove the expiry date section from the add a link form? I set the form field to hidden, but it's still coming up
May 4, 2005, 12:39 PM
Staff (4101 posts)
May 4, 2005, 12:39 PM
Post #5 of 6
Views: 2470
The admin side and the browser side code share the same code, so if you do change this, it will also be hidden in the admin (you can probably get around that, but I won't bother getting into that). If you edit admin/Links/HTML/Links.pm and comment out the line (around line 92):
then the setting the column to hidden will work.
Adrian
Code:
$self->{code}->{ExpiryDate} = \&form_expiry;Adrian