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 |
-
Extending Page - default values

6 September 2011 at 2:18am
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 |

