Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » cms popup image upload workaround
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: cms popup image upload workaround | 883 Views |
-
cms popup image upload workaround

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.
-
Re: cms popup image upload workaround

13 April 2008 at 3:21pm Last edited: 13 April 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') );
-
Re: cms popup image upload workaround

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.
| 883 Views | ||
|
Page:
1
|
Go to Top |

