This permits you the same functionality as the "custom" content type, except that instead of entering the content into a textarea, it's taken from a template file. This is the simplest way to permit reuse of custom content types, and also provides a very familiar workflow for developers and themers. There are, admittedly, arguments to be made for storing this stuff in the db, but I believe there are arguments to be made for offering this process as well. Keywords and PHP code can both be enabled within the template.

CommentFileSizeAuthor
custom_template.inc_.txt4.44 KBbrynbellomy

Comments

merlinofchaos’s picture

I'm not entirely sure I like this. If you're going to put a template into your theme, why not go the extra step and just make it a content type? It's not THAT much more complicated.

merlinofchaos’s picture

Status: Needs review » Closed (won't fix)

Yes, I think my comment in #1 is still true. What we probably need is page of documentation that covers how to make the content type that does this.