Closed (won't fix)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2009 at 17:44 UTC
Updated:
29 Jan 2010 at 19:41 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| custom_template.inc_.txt | 4.44 KB | brynbellomy |
Comments
Comment #1
merlinofchaos commentedI'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.
Comment #2
merlinofchaos commentedYes, 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.