We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

file_upload_form in custom module

Development and Programming

evasion's avatar
evasion
58 posts
17 years ago
evasion's avatar evasion

Hello,

Is there anyway to use the file_upload_form module in some custom module, or should I create my own upload functions ?

When I try to use it as in the Publish class, the form popup load correctly, but when I try to upload some files, it display an error like

no field were set

I’m using this code to create the popup link :

<?php
$DSP->body .= $DSP->anchorpop(BASE.AMP.'C=publish'.AMP.'M=file_upload_form'.AMP.'field_group='.$field_group.AMP.'Z=1', $up_img.' '.$LANG->line('upload_file'), '520', '600');
?>

I would like to use the features upload and resize, then give back the uploaded file path to my custom module.

Please help 😊

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.