Document type, have a base page
# help-with-umbraco
c
using umbraco 14, i want to create a Base Page. This will have compositions on it and some global fields that all pages have. I then want to create a home page document type that inherits base page. How can i achieve this?
m
Not sure if v14 has done away with the alternative doctype inheritance to compositions.. but why not just add the global fields to another composition, and compose the home page etc from the compositions that basepage would have
when using models builder makes it eaiser to cast
Model as IGlobalFields
for strong typing?
c
Yeah I am using compositions, but I just found the older way easier thanks bro 🙂
5 Views