Press Releases


documentIdentifier; $sql= "SELECT * FROM modx_site_content WHERE id= '".$docID."'"; $result = $modx->db->query($sql); $value = $modx->db->getRow($result); ########## TEXT $articleBodyVar = $modx->getTemplateVar('articleBody', '*', $docID,$published=$value['published']); ######### Thumb $articleThumbVar = $modx->getTemplateVar('blogThumb', '*', $docID,$published=$value['published']); echo'

'.$value['pagetitle'].'

'.date("F d, Y",$value['pub_date']).'

'; echo $articleBodyVar['value'].'

'; ?>