/* inputs appropriate site title into CMT_MenuTemplate*/
$id = $modx->resource->get('id');
$resource = $modx->getObject('modResource', $id);
$resourcesTitle = $resource->getTVValue(2); /* TV: menuPic */

if ($resourcesTitle == 'None'||null)
{
$output = 'Cambridge Music Technology';
}

if ($resourcesTitle == 'RSFTSS') 
{
$output = 'Recording Secrets For The Small Studio';
$output .= ' (Cambridge Music Technology)';
}

if ($resourcesTitle == 'MSFTSS')
{
$output = 'Mixing Secrets For The Small Studio';
$output .= ' (Cambridge Music Technology)';
}

if ($resourcesTitle == 'MSFTSS+RSFTSS')
{
$output = 'Small-studio Secrets';
$output .= ' (Cambridge Music Technology)';
}

if ($resourcesTitle == 'MikeSenior')
{
$output = 'Mike Senior';
$output .= ' (Cambridge Music Technology)';
}

if ($resourcesTitle == 'CMTLogoCondensed')
{
$output = 'Studio Services &amp; Training';
$output .= ' (Cambridge Music Technology)';
}

if ($resourcesTitle == 'CMTLogoPatreon')
{
$output = 'Cambridge-MT Patron Rewards';
$output .= ' (Cambridge Music Technology)';
}

return $output;