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.

Customising the CMS /

InlineFormAction and 404 error


Reply


993 Views

Avatar
tbilyn

Community Member, 9 Posts

23 September 2010 at 3:01am

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?