Форумчанин Posted February 25 Report Share Posted February 25 Подскажите, как то можно убрать эту кнопку? Quote Link to comment Share on other sites More sharing options...
AHristich Posted February 25 Report Share Posted February 25 18 минут назад, Форумчанин сказал: Подскажите, как то можно убрать эту кнопку? В шаблоне userbar Quote Link to comment Share on other sites More sharing options...
murzic Posted February 25 Report Share Posted February 25 core/front/global/userbar найди код: {{if !\IPS\Member::loggedIn()->restrict_post and \count( \IPS\Member::loggedIn()->createMenu() )}} <li id='cCreate'> <a href='#elCreateNew_menu' id='elCreateNew' data-ipsTooltip data-ipsMenu title='{lang="create_menu_title"}'> <img src='{resource="FNATIK/create.svg" app="core" location="global"}'> </a> <div id='elCreateNew_menu' class='ipsMenu ipsMenu_auto ipsHide'> <ul> {{foreach \IPS\Member::loggedIn()->createMenu() as $k => $url}} <li class="ipsMenu_item"> <a href="{$url['link']}" {{if isset( $url['extraData'] )}} {{foreach $url['extraData'] as $data => $v}} {$data}="{$v}" {{endforeach}} {{endif}} {{if isset($url['title']) AND $url['title']}} data-ipsDialog-title='{lang="$url['title']"}'{{endif}} {{if isset($url['flashMessage'])}} data-ipsdialog-flashmessage="{lang="$url['flashMessage']"}"{{endif}} >{lang="$k"}</a> </li> {{endforeach}} </ul> </div> </li> {{endif}} и удали. Quote Link to comment Share on other sites More sharing options...
HooLIGUN Posted February 25 Report Share Posted February 25 https://ipbmafia.ru/files/file/2607-remove-create-new-button/?do=getNewComment Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.