wishy wrote: Oh, it's a plugin. Gotcha.
Well, I just looked through the code and title is not put into $gCms anywhere. You're only real option is:Code: Select all
$contentobj = ContentManager::LoadContentFromId($id, false); $title = $contentobj->GetName();

Ok i founded this, but i am inside a smarty plugin now how can a get the refer of "ContentManager::LoadContentFromId"

sorry
Maybe from "$smarty" parameter of function smarty plugin?