[Solved]Template ids
Posted: Mon Oct 07, 2013 7:10 am
How do I find out the id of a template?
Thanks
Thanks
Content management as it is meant to be
https://forum.cmsmadesimple.org/
Code: Select all
$contentops = cmsms()->GetContentOperations();
$content_obj = $contentops->getContentObject();
echo 'Current content object is "'.$content_obj->Name().'"<br />';
echo 'which was created on '.$content_obj->GetCreationDate().'<br
/>';
echo 'its alias is "'.$content_obj->Alias().'"<br />';
echo 'its URL is "'.$content_obj->GetURL().'"<br />';
echo 'and its Title Attribute is "'.$content_obj->TitleAttribute().'"<br />';
echo 'and its Template ID is "'.$content_obj->TemplateId().'"<br />';