Jump to:

5554 Posts in 1742 Topics by 1227 members

Customising the CMS

SilverStripe Forums » Customising the CMS » CMS assets ajax file selector customization

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

Page: 1
Go to End
Author Topic: 912 Views
  • ROlckers
    Community Member
    8 Posts

    CMS assets ajax file selector customization Link to this post

    I would like to know where (specifically in which file and function) the code is executed when a request similar to the one below is sent (via ajax):


    This request is sent when a file from e.g. Attach Image -> From the file store is selected and the dropdown field is populated with a list of files. I suspect it has everything to do with CMSMain.php -> getEditForm(), however I'm not sure and don't want to just start hacking away.

    Your help would be greatly appreciated!

  • Sam
    679 Posts

    Re: CMS assets ajax file selector customization Link to this post

    I assume that ExistingFile is a TreeSelectorField? In that case this URL will be handled by the tree() method of TreeSelectorField.

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.