papadoz Posted April 17, 2012 Report Share Posted April 17, 2012 Здравствуйте, скажите пожалуйста, как изменить положение вкладок в меню и их название ? а так же как изменить стартовую страницу Link to comment Share on other sites More sharing options...
Respected Posted April 17, 2012 Report Share Posted April 17, 2012 Внешний вид --> Стиль --> globalTemplate, в нём есть такой код: <ul class='ipsList_inline' id='community_app_menu'> <if test="showQuickNav:|:! ( ! $this->memberData['member_id'] && $this->settings['force_login'] ) && !($this->settings['board_offline'] && !$this->memberData['g_access_offline']) && $this->memberData['g_view_board']"> <li class='right'> <a href="{parse url="app=core&module=global&section=navigation&inapp={parse expression="IPS_APP_COMPONENT"}" base="public"}" rel="quickNavigation" accesskey='9' id='quickNavLaunch' title='{$this->lang->words['launch_quicknav']}'><span> </span></a> </li> </if> <li id='nav_explore' class='right'> <a href='{parse url="app=core&module=search&do=viewNewContent&search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a> </li> <if test="showhomeurl:|:$this->settings['home_url'] AND $this->settings['home_name']"> <li id='nav_home' class='left'><a href='{$this->settings['home_url']}' title='{$this->lang->words['homepage_title']}' rel="home">{$this->settings['home_name']}</a></li> </if> <if test="hasCustomPrimaryNavigation:|:!empty($header_items['primary_navigation_menu'])"> {$header_items['primary_navigation_menu']} <else /> <if test="applicationsloop:|:is_array($header_items['applications']) AND count($header_items['applications'])"> <foreach loop="applications:$header_items['applications'] as $data"> <if test="showingapp:|:$data['app_show']"> {parse variable="appActive" default="" oncondition="$data['app_active']" value="active"} <li id='nav_app_{$data['app_dir']}' class="left {parse variable="appActive"}"><a href='{parse url="{$data['app_link']}" seotitle="{$data['app_seotitle']}" template="{$data['app_template']}" base="{$data['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle($data['app_dir']) )"}'>{IPSLib::getAppTitle($data['app_dir'])}</a></li> </if> </foreach> </if> </if> </ul> Код, отвечающий за вывод всех вкладок меню: <li id='nav_app_{$data['app_dir']}' class="left {parse variable="appActive"}"><a href='{parse url="{$data['app_link']}" seotitle="{$data['app_seotitle']}" template="{$data['app_template']}" base="{$data['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle($data['app_dir']) )"}'>{IPSLib::getAppTitle($data['app_dir'])}</a></li> [/code] То есть, он выводит вкладки приложений (в том числе и стандартных: Форумы, Пользователи) Поменять местами вкладки можно в Система --> Приложения --> Управление приложениями. Слева от каждого приложения есть небольшая иконка, которая работает по принципу Drag-and-drop - зажми и перемести :( papadoz 1 Link to comment Share on other sites More sharing options...
papadoz Posted April 17, 2012 Author Report Share Posted April 17, 2012 спасибо большое, И еще подскажите пожалуйста, как убрать боковой блок "Последние темы" Link to comment Share on other sites More sharing options...
Respected Posted April 18, 2012 Report Share Posted April 18, 2012 Система --> Приложения --> Управление хуками --> Отключить хук Последние темы v1.0.0 papadoz 1 Link to comment Share on other sites More sharing options...
Recommended Posts