Jump to:

3372 Posts in 998 Topics by 712 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: 421 Views
  • Jarek
    Avatar
    Community Member
    30 Posts

    Extending Page - default values Link to this post

    Hello,

    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)?

    421 Views
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.