Jump to:

3450 Posts in 1063 Topics by 738 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Extending Page - default values

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

Page: 1
Go to End
Author Topic: 537 Views
  • Jarek
    Community Member
    30 Posts

    Extending Page - default values Link to this post


    I've have some pages and I want to add to them some extra fields (with default values). So I'm adding new fields in Page class and now in cms those fields are visible. But if I want set default values for all existing pages, I have to edit each page, set field value and save (cms will set value and create missing Page_Live record). Is is possible to automatically generate Page_Live records for all already existing pages (filling them with default values)?

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.