Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Remove Expiry date from form

Quote Reply
Remove Expiry date from form
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
Quote Reply
Re: [bloodroot] Remove Expiry date from form In reply to
I have the same problem. Did you find a solution?

Cheers,

Rob
Quote Reply
Re: [bloodroot] Remove Expiry date from form In reply to
Are you talking about the user side or admin side?

Adrian
Quote Reply
Re: [brewt] Remove Expiry date from form In reply to
I'm talking about the editor side (which I guess is more the admin side).

I don't want my editors to see or be able to edit the expiry date fields when managing links via browser.cgi.

Regards,

Robert
Quote Reply
Re: [mrrob] Remove Expiry date from form In reply to
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):
Code:
$self->{code}->{ExpiryDate} = \&form_expiry;
then the setting the column to hidden will work.

Adrian
Quote Reply
Re: [brewt] Remove Expiry date from form In reply to
Thanks Adrian.

Worked a treat.

Will this change to Links.pm be included in a future update?

Regards,

Robert