I am making a site about renting buisness/apartments
there are two variants templates for viewing pages - But they are somewhat similar regarding in sub-pages.
Buisness Information Page (differs from apartmentpage) Pictures Page Floor Scematics Page Map (googlemap)
Apartment
Information Page (differs from buisness page)
Pictures Page
Floor Scematics Page
Map (googlemap)
My initial thought was to just make two Templates with sub-templates like above - but that leaves with alot of identical code and i thought there must be a way to remove this.
i then thought id make it as such.
Buisness/apartment Information page (apartment) Information page (buisness) Pictures Page
Floor Scematics Page
map (googlemap)
The user would then when he made a page set the main page to either be a (apartment or buisness page) and the link buttons would then link to main page to pull out the correct page.)
This then leaves me with the problem that the document types that the template is using now has surplus properties that are not used - (and since some of these are mandatory on both information pages, the template cant be published with out the user putting in useless information)
Im unsure as to how to solve this. but would think there must be a way in umbraco for this to work. any advice would be greatly appreciated.
Sub Templates - Document type
Hey there!.
I am making a site about renting buisness/apartments
there are two variants templates for viewing pages - But they are somewhat similar regarding in sub-pages.
Buisness
Information Page (differs from apartmentpage)
Pictures Page
Floor Scematics Page
Map (googlemap)
Apartment
Information Page (differs from buisness page)
Pictures Page
Floor Scematics Page
Map (googlemap)
My initial thought was to just make two Templates with sub-templates like above - but that leaves with alot of identical code and i thought there must be a way to remove this.
i then thought id make it as such.
Buisness/apartment
Information page (apartment)
Information page (buisness)
Pictures Page
Floor Scematics Page
map (googlemap)
The user would then when he made a page set the main page to either be a (apartment or buisness page) and the link buttons would then link to main page to pull out the correct page.)
This then leaves me with the problem that the document types that the template is using now has surplus properties that are not used - (and since some of these are mandatory on both information pages, the template cant be published with out the user putting in useless information)
Im unsure as to how to solve this. but would think there must be a way in umbraco for this to work.
any advice would be greatly appreciated.
is working on a reply...