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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Uploads not impacting the DB


Go to End


3 Posts   1092 Views

Avatar
berto

Community Member, 2 Posts

24 July 2009 at 1:43pm

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

Community Member, 2 Posts

26 July 2009 at 2:29am

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

Community Member, 24 Posts

20 August 2009 at 11:33pm

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

v. SS 2.3.2