joeh42
-
5/13/2011 3:34:36 PM
RE:How do I return the document type of the current node?
I believe you are looking for CMSContext.CurrentDocument.NodeClassName, which will return your custom document type (i.e. custom.Event).
CMSContext.CurrentDocument.NodeDocType will return something like cms.page, and not the custom document type you are looking for
|