Default deadline

toddwoof - December 29, 2008 - 16:46
Project:Job Posting
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

The deadline field defaults to now. Can it be set to some other default, like 60 days from now?

#1

gmarus - January 7, 2009 - 16:25

Not through the admin interface. You'd have to change a couple of lines of code to do this globally. Otherwise, it's set on a per-posting basis using the provided dropdowns on node creation.
If you're still interested in that let me know and I'll give you further instructions.

#2

sndev - April 21, 2009 - 15:39
Version:6.x-1.10» 6.x-1.x-dev
Status:active» needs review

I created a patch for this that uses strtotime for the default time.

This patch is against the latest cvs checkout.

AttachmentSize
job_posting.patch.txt 5.19 KB

#3

sndev - April 21, 2009 - 15:41

Woops. Last patch was worthless. Sorry about that. I created a new patch and cleaned up the code to follow best practice standards.

AttachmentSize
patch.txt 16.88 KB

#4

gmarus - September 30, 2009 - 17:41
Status:needs review» closed
 
 

Drupal is a registered trademark of Dries Buytaert.