morra Posted August 25, 2014 Report Share Posted August 25, 2014 Всем привет. Как убрать навигационное меню, только в IP.Content. Заранее спасибо. Quote Link to comment Share on other sites More sharing options...
morra Posted August 26, 2014 Author Report Share Posted August 26, 2014 up Quote Link to comment Share on other sites More sharing options...
Hovichek Posted August 26, 2014 Report Share Posted August 26, 2014 в редакторе шаблона файл "globaltemplates" ищи (ctrl + f) "sidebar" (без кавычек). Quote Link to comment Share on other sites More sharing options...
Ben1 Posted August 26, 2014 Report Share Posted August 26, 2014 в редакторе шаблона файл "globaltemplates" ищи (ctrl + f) "sidebar" (без кавычек). Так меню пропадет во всех компонентах Нужно редактировать файл именно от IP.Content...не помню как там называется главный файл Quote Link to comment Share on other sites More sharing options...
morra Posted August 26, 2014 Author Report Share Posted August 26, 2014 в редакторе шаблона файл "globaltemplates" ищи (ctrl + f) "sidebar" (без кавычек). я нашёл чтобы и на форуме убиралось, но мне это не надо. Надо конкретно на IP.Content Так меню пропадет во всех компонентах Нужно редактировать файл именно от IP.Content...не помню как там называется главный файл вспомни пожалуйста, буду благодарен Quote Link to comment Share on other sites More sharing options...
morra Posted August 27, 2014 Author Report Share Posted August 27, 2014 помогите, кто нибудь Quote Link to comment Share on other sites More sharing options...
Chera Posted August 28, 2014 Report Share Posted August 28, 2014 АЦ - Внешний вид - ВАШ СТИЛЬ -globalTemplate И там ищите(Ctrl+F) строчку <div id='secondary_navigation' class='clearfix'> И удаляйте весь вот этот код <div id='secondary_navigation' class='clearfix'> <ol class='breadcrumb top ipsList_inline left'> <php>$this->did_first = 0;</php> <if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'"> <li itemscope itemtype="__data-vocabulary.org/Breadcrumb"> <a href='{parse url="act=idx" seotitle="false" base="public"}' itemprop="url"> <span itemprop="title">{$this->settings['board_name']}</span> </a> </li> <if test="didfirstnav:|:$this->did_first=1"></if> </if> <foreach loop="navigation:$items['navigation'] as $idx => $data"> <li itemscope itemtype="__data-vocabulary.org/Breadcrumb"> <if test="didfirstappnow:|:$this->did_first"><span class='nav_sep'>{parse replacement="f_nav_sep"}</span></if> <if test="navigationlink:|:$data[1]"><a href='{parse url="{$data[1]}" base="$data[4]" seotitle="$data[2]" template="$data[3]"}' title='{$this->lang->words['nav_return_to']} {parse expression="IPSText::striptags( IPSText::htmlspecialchars( $data[0] ) )"}' itemprop="url"></if><span itemprop="title">{$data[0]}</span><if test="closenavigationlink:|:$data[1]"></a></if> </li> <if test="forsuredidfirstnav:|:$this->did_first=1"></if> </foreach> </ol> </div> Quote Link to comment Share on other sites More sharing options...
morra Posted August 28, 2014 Author Report Share Posted August 28, 2014 АЦ - Внешний вид - ВАШ СТИЛЬ -globalTemplate И там ищите(Ctrl+F) строчку <div id='secondary_navigation' class='clearfix'> И удаляйте весь вот этот код <div id='secondary_navigation' class='clearfix'> <ol class='breadcrumb top ipsList_inline left'> <php>$this->did_first = 0;</php> <if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'"> <li itemscope itemtype="__data-vocabulary.org/Breadcrumb"> <a href='{parse url="act=idx" seotitle="false" base="public"}' itemprop="url"> <span itemprop="title">{$this->settings['board_name']}</span> </a> </li> <if test="didfirstnav:|:$this->did_first=1"></if> </if> <foreach loop="navigation:$items['navigation'] as $idx => $data"> <li itemscope itemtype="__data-vocabulary.org/Breadcrumb"> <if test="didfirstappnow:|:$this->did_first"><span class='nav_sep'>{parse replacement="f_nav_sep"}</span></if> <if test="navigationlink:|:$data[1]"><a href='{parse url="{$data[1]}" base="$data[4]" seotitle="$data[2]" template="$data[3]"}' title='{$this->lang->words['nav_return_to']} {parse expression="IPSText::striptags( IPSText::htmlspecialchars( $data[0] ) )"}' itemprop="url"></if><span itemprop="title">{$data[0]}</span><if test="closenavigationlink:|:$data[1]"></a></if> </li> <if test="forsuredidfirstnav:|:$this->did_first=1"></if> </foreach> </ol> </div> я так делал, пропадает навигационное меню и на форуме, а нужно именно в IP.Content. Спасибо за ответ. Есть ещё варианты?) Quote Link to comment Share on other sites More sharing options...
morra Posted August 29, 2014 Author Report Share Posted August 29, 2014 up, ребята Quote Link to comment Share on other sites More sharing options...
morra Posted August 30, 2014 Author Report Share Posted August 30, 2014 up Quote Link to comment Share on other sites More sharing options...
pozyatiff Posted September 13, 2014 Report Share Posted September 13, 2014 В ipcontent.css добавить #secondary_navigation { display: none; } 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.