Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
4.7.x-1.5-1
Component:
CCK in core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2007 at 23:05 UTC
Updated:
11 Jul 2007 at 00:17 UTC
Hello!
I have a new cck type created called 'content_story'. How do I check programatically if this content type has been created? If it was a module I could use module_exists('story'). Is there anything similar for CCK?
I'm trying to check for this content type before displaying additional info in .php.tpl template file.
Thanks for any pointers!
Comments
Comment #1
drupalzack commentedNever mind! I should learn to look at .module files before asking questions! Found it!
Comment #2
yched commentedGreat - closing, then :-)
Comment #3
(not verified) commented