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

Uploads not impacting the DB


Reply

3 Posts   745 Views

Avatar
berto

24 July 2009 at 1:43pm Community Member, 2 Posts

Hi! I'm building my first website with SS and i've found it really nice!

The only problem i've encountered is the flash 10 problem in tinimce where i can't upload pictures from the content editor.
So, i figured out an alternative: first, upload the pictures in the Files and Images tab and then insert them in any page's content with tinymce. The problem is that when i upload a picture, SS doesn't add the record to the Files table in the DB, so tinimce doesn't show it when i click the folder that contains it.

Does anybody knows how to solve this??
Thanks in advance!

Berto.

Avatar
berto

26 July 2009 at 2:29am Community Member, 2 Posts

I realized that when i upload an image SS inserts a record in the File table, but with the ClassName "File" and not "Image".
Does anybody knows hoy to modify AssetAdmin.php (i think this is where files are handled) so when i upload a file i check whether it's an image or not?

Avatar
nakashu

20 August 2009 at 11:33pm Community Member, 24 Posts

Got exactly the same problem, a solution would be great .. Bump

v. SS 2.3.2