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 /

Add DataObject items to the SiteTree list


Reply


440 Views

Avatar
Martin D.

Community Member, 21 Posts

16 April 2014 at 8:50am

Edited: 16/04/2014 8:50am

Hi guys

I am trying to find out how to add items to the SiteTree list that is used when creating a link (the CMS places an ajax call to this method /admin/pages/edit/EditForm/field/CallToActionLinkID/LinkForm/field/SiteTreeID/tree).

I have found ways to exclude items (https://github.com/micschk/silverstripe-excludechildren) from the DataList object but nothing about adding items.

Thanks!

Martin