zotonic/zotonic — Issue #236: Titles - make dynamic for people etc.
Author: mworrell
Created: 2011-10-20 13:07:04+00:00
State: open
Labels: enhancement

Currently the 'title' is just an attribute in the property list of a rsc.

Some resource categories don't really have a title though. Think of people and files.

I suggest to make the title optional, and add a notification to fetch the title or overrule an existing title. In the case of a person this could then render a template that concatenates the first name and other names into a title to be shown.

Maybe use a catinclude for `_p_title.tpl` (which would give `_p_title.person.tpl` etc)

This makes it easier to re-use templates.