Jump to:

2580 Posts in 695 Topics by 540 members

Data Model Questions

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

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba

Page: 1
Go to End
Author Topic: 212 Views
  • Jarek
    Avatar
    Community Member
    29 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)?

    212 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.