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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Cannot attach image to unsaved object popup


Reply


3 Posts   741 Views

Avatar
purplespider

Community Member, 83 Posts

14 February 2010 at 10:21am

Is there any way around this:

It's annoying to have to enter the Title and Description, then save, then go back in to add the images.

Thanks
James

Avatar
Willr

Forum Moderator, 5513 Posts

14 February 2010 at 2:00pm

The reason why you need to save first is to populate the ID field for the image relationship. Its less than ideal, AFAIK there is no workaround for it. Happy to hear one though

Avatar
SilverRay

Community Member, 167 Posts

14 February 2010 at 2:53pm

Just thinking out loud: how about setting a 1px transparent image with a defaults array? Kludgy though...