Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

cms popup image upload workaround


Reply


3 Posts   1829 Views

Avatar
quicked

Community Member, 32 Posts

12 April 2008 at 6:13am

In the CMS, if you have a complex table listing a bunch of records and you edit these records with the CMSpopup, and you have images in the record, the CMSpopup does not allow you to upload images (some AJAX isssue).

I am looking for suggestions for the best workaround.

Avatar
Blackdog

Community Member, 156 Posts

13 April 2008 at 3:21pm

Edited: 13/04/2008 3:22pm

Try the FileIFrameField instead of the standard Image Upload field which you would use if it was a single image field.

$fields->push( new FileIFrameField( 'YourPhoto', 'Photo') );

Avatar
Blackdog

Community Member, 156 Posts

13 April 2008 at 11:24pm

ok scrap that if you are using 2.2.2 rc2 that method I suggested will break your popup.