forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: just_some_guy on October 01, 2007, 06:36:47 pm

Title: Upload filetype restrictions.
Post by: just_some_guy on October 01, 2007, 06:36:47 pm
Hey,

Part of my plugin is adding a new upload field to this file, are the restriction of filetypes pre set in an external file? or will i have to add to the new upload the restrictions?

Thanks,
Title: Re: Upload filetype restrictions.
Post by: Stramm on October 01, 2007, 07:17:52 pm
it's a config setting
Title: Re: Upload filetype restrictions.
Post by: just_some_guy on October 01, 2007, 07:32:32 pm
Good , thanks that makes life easier.
Title: Re: Upload filetype restrictions.
Post by: just_some_guy on October 01, 2007, 08:17:46 pm
When adding a new field does it have to be in the form of a an array, or can you use plain html for the form?

I was working with html for the form but it seems to of deactivated the continue button.

Any ideas why?

Thanks,
Title: Re: Upload filetype restrictions.
Post by: just_some_guy on October 02, 2007, 08:38:39 am
Resolved, this is outside the limitations of plugin so i will make a mod instead, please see realted thread in CPG misc.

Thanks,