A problem that arises with our current templating scheme is the need for items to appear in "common" parts of a page layout (headers, footers, and sidebars) that should vary based on the page in which it appears. Possible solutions to this problem include:
- An object (vaguely similar to the random object selector) that would maintain mappings between objects, selecting embedded content based on the page in which it was embedded.
- Should have a default if no match is found
- Extension to shorthand (or embeddable object) that would pull embedded content from metadata attached to arbitrary object.
- Would decentralize mappings
- Need to consider the attached metadata issue more carefully, including this case in the work that needs to be done on alternate view support (see XSLT Integration).
|