# Create page model using information from database

**URL:** <https://forum.getkirby.com/t/create-page-model-using-information-from-database/8808>\
**Category:** Questions\
**Tags:** v2\
**Created:** [October 17, 2017, 11:06pm UTC](https://forum.getkirby.com/t/create-page-model-using-information-from-database/8808 "2017-10-17T23:06:36Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 19, 2017, 9:19am UTC](https://forum.getkirby.com/t/create-page-model-using-information-from-database/8808/19 "2017-10-19T09:19:46Z")

</div>

See also this post for making the example “secrets solution” more dynamic: [What’s the opposite of $page-\>toArray?](https://forum.getkirby.com/t/whats-the-opposite-of-page-toarray/8690/9)

---

_[View the full topic](https://forum.getkirby.com/t/create-page-model-using-information-from-database/8808)._
