Jump to:

5541 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » InlineFormAction and 404 error

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

Page: 1
Go to End
Author Topic: 897 Views
  • tbilyn
    Community Member
    9 Posts

    InlineFormAction and 404 error Link to this post

    I have a problem with InlineFormAction.
    I add InlineFormAction field into getCMSFields function:

    $fields->addFieldsToTab( 'Root.Content.Leads', $filter_action);
    $filter_action = new InlineFormAction('doLeadsFilter','submit');

    When I press on it into admin panel it goes to url: http://<my_base_url>/admin-custom/doLeadsFilter?ID=11&ajax=1 and return 404 error page, and show Server Error in the bottom of the page.

    What problem it can be?
    I am also don't sure where should I put doLeadsFilter function?

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.