This project is read-only.

Binding to a set of information to every page

Topics: Customizing Orchard
Apr 3, 2013 at 2:32 AM
Edited Apr 3, 2013 at 2:50 AM
I'm setting up an orchard site for a car dealership and want to have certain information about the dealer readily available on every page. I'd like for this information to still be updatable through the admin.

My initial though was to create new content type called Dealer (even though there would only ever be one instance) and then add it to the Page content type. The only issue with this though is how do I tell it to grab the particular instance and bind it to the Page? I definitely need access to it via code as well.

Is this really the best path for setting up a dealer context for every page?

Apr 5, 2013 at 8:15 AM
Use a content picker field. Is there one dealer per page or is a dealer going to be re-used on more than one page?