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

drupalzack’s picture

Never mind! I should learn to look at .module files before asking questions! Found it!

yched’s picture

Status: Active » Fixed

Great - closing, then :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)