Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Deleting an associated page

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 675 Views
  • Alix
    Community Member
    1 Post

    Deleting an associated page Link to this post

    I've got some code that moves archives some pages and when these are archived then the associated page needs to be deleted. I can get the associated page to be deleted from Live using delete_by_id but not from Staging.

    It looks like using the delete method of the DataObject should be the answer but I'm not sure how to implement this. Has anyone else done anything similar or have any ideas??

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.