Jump to:

23372 Posts in 18175 Topics by 2865 members

General Questions

SilverStripe Forums » General Questions » Uploads not impacting the DB

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

Page: 1
Go to End
Author Topic: 729 Views
  • berto
    Avatar
    Community Member
    2 Posts

    Uploads not impacting the DB Link to this post

    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.

  • berto
    Avatar
    Community Member
    2 Posts

    Re: Uploads not impacting the DB Link to this post

    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?

  • nakashu
    Avatar
    Community Member
    24 Posts

    Re: Uploads not impacting the DB Link to this post

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

    v. SS 2.3.2

    729 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.