Здравствуйте.
есть блок "поделиться" от яндекс. http://api.yandex.ru/share/
как его разместить на всех новостных страницах и на всех статических страницах, НО не на главной?
ставлю код в templates\Uniel\index.php и он появляется вообще везде.
if(isset($GLOBALS['Eleanor']->module['section']) and $GLOBALS['Eleanor']->module['section']=='static' || $GLOBALS['Eleanor']->module['section']=='news')
{
//Вывод кода.
}
if(isset($GLOBALS['Eleanor']->module['section']) and $GLOBALS['Eleanor']->module['section']=='static' || $GLOBALS['Eleanor']->module['section']=='news')
{
//Вывод кода.
}