I'm using CMSMS v. 1.2.3

I would like to create a UDT which will display the content of e. g. a {content block="test"} placed in the template "Test Template".
I created something like this (the default page is the target, containing {content block="test"):
Code: Select all
global $gCms;
$contops =& $gCms->GetContentOperations();
$default =& $contops->GetDefaultContent();
echo $default." | ";
$conts =& $contops->LoadContentFromId($default);
return $conts->Show();
Thank you in advance!