Add docx as file extension

whittonj - November 4, 2009 - 22:24
Project:Job Posting
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is there a way to add other file types to the upload for the resumes? I'm not seeing which list of allowable extensions this is pulling from.

Thanks

#1

gmarus - November 4, 2009 - 22:45

No. The allowable extensions are currently set as 'pdf doc txt' in the $extensions variable in the job_posting_application_form_validate() function of job_posting.module. In a pinch you could add whatever extension you want to the code (separated by a space) but currently no way to do this through the admin interface.

#2

whittonj - November 4, 2009 - 23:09

Thanks-- worked like a charm.

My search isn't locating things in the source code for some reason.

 
 

Drupal is a registered trademark of Dries Buytaert.