At present, the theme template filename (eg node-content-xxxx.tpl.php) must match the original label of the CCK content type (eg xxxx), even if you change the label (eg to yyyy).
At present, the theme template filename (eg node-content-xxxx.tpl.php) must match the original label of the CCK content type (eg xxxx), even if you change the label (eg to yyyy).
Comments
Comment #1
jonbob commentedThis is by design. The design can be changed, but is intentional; the benefit is that a label change doesn't *break* themes.
Comment #2
jeff h commentedHow then am I to know what the original CCK label was, when I am developing a theme for a site someone else put together?
I think this design really needs to be a bit more friendly. Could we at least have the original label displayed somewhere on the CCK edit page so that it can be seen easily?
Thanks for the great work.
Jeff
Comment #3
jonbob commentedAt the moment the internal name is displayed right in the table at admin/node/types. Does this help?
Comment #4
introfini commentedOr if you have devel.module installed you can open the tab object structure and there you have "type"...
introfini