On site "forum.rukilovolt.info" make'd new tab named as "Статьи"... But i have truble with active flag, how to make them "active" when page/subpage active?
How did you add the button? Code should look like this -
'test' => array(
'title' => 'test',
'href' => $scripturl . '?action=test',
'show' => true,
'sub_buttons' => array(
),
),
<code php>
'articles' => array(
'title' => 'Статьи',
'href' => $scripturl . '?action=article-list',
'show' => true,
'sub_buttons' => array(
),
</code>
Try this -
'article-list' => array(
'title' => 'Статьи',
'href' => $scripturl . '?action=article-list',
'show' => true,
'sub_buttons' => array(
),
Thanks! :)