Well... that’s a start. I could write a custom output filter that did a lookup of the content_type id and output the Content type name...
Thanks!
[[+contentType]]
. This outputs the mime type, so in the case of HTML it outputs text/html. Is there a way to output the content type name, e.g. HTML?
Thanks Shaun. This outputs the mime type, so in the case of HTML it outputs text/html. Is there a way to output the content type name, e.g. HTML?
<?php
$CT = $modx->getObject('modContentType', $input);
return $CT->get('name');<a href="[[+wf.link]]">[[+wf.pagetitle]]</a> [ [[+wf.content_type:lookupContentType]] ]<br /> [[+wf.introtext]]