Jump to content
Дизайн и модификация Invision Power Board IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Cheshir

Удалить breadcrumbs только из IP.Content

Recommended Posts

Как удалить "хлебные крошки", только из IP.Content, не трогая форум?

Share this post


Link to post
Share on other sites

Есть два способа

Первый – простой

 

В ipcontent.css добавить

#secondary_navigation {
display: none;
}

 

Если не поможет или навигация будет пропадать на форуме, скажу второй

Share this post


Link to post
Share on other sites

Есть два способа

Первый – простой

 

В ipcontent.css добавить

#secondary_navigation {
display: none;
}

 

Если не поможет или навигация будет пропадать на форуме, скажу второй

у меня таким образом убралось на верху а внизу осталось :(

Share this post


Link to post
Share on other sites

В ipcontent.css:

.breadcrumb {
display: none;
}

Но скроются так же и ссылки на правила форума и Privacy Policy.

 

Если ссылки хотите оставить, то ищете в globalTemplate код:

				<ol class='breadcrumb bottom ipsList_inline left clearfix clear'>
				<if test="count( $items['navigation'] )">
					<php>$this->did_first_bottom = 0;</php>
					<if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'">
						<li><a href='{parse url="act=idx" seotitle="false" base="public"}'>{$this->settings['board_name']}</a></li>
						<if test="didfirstnav:|:$this->did_first_bottom=1"></if>
					</if>
					<foreach loop="navigation:$items['navigation'] as $idx => $data">
						<li><if test="didfirstappnow:|:$this->did_first_bottom"><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']} {$data[0]}'></if>{$data[0]}<if test="closenavigationlink:|:$data[1]"></a></if></li>
						<if test="forsuredidfirstnav:|:$this->did_first_bottom=1"></if>
					</foreach>
				<else />
					<li> </li>
				</if>
				<if test="privvy:|:$this->settings['priv_title']">
				<li class='right ipsType_smaller'>
					<a rel="nofollow" href='{parse url="app=core&module=global&section=privacy" template="privacy" seotitle="false" base="public"}'>{$this->settings['priv_title']}</a>
				</li>
				</if>
				<if test="siteruleslink:|:$this->settings['gl_show'] and $this->settings['gl_title']">
					<li class='right ipsType_smaller'>
						<a href='<if test="ruleslink:|:$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&module=extras&section=boardrules" base="public"}</if>'><if test="siterulestitle:|:$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a><if test="privvyMiddot:|:$this->settings['priv_title']"> · </if>
					</li>
				</if>	
			</ol>

Меняете на:

				<ol class='breadcrumb bottom ipsList_inline left clearfix clear' style='width: 85%;'>
				<if test="count( $items['navigation'] )">
					<php>$this->did_first_bottom = 0;</php>
					<if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'">
						<li><a href='{parse url="act=idx" seotitle="false" base="public"}'>{$this->settings['board_name']}</a></li>
						<if test="didfirstnav:|:$this->did_first_bottom=1"></if>
					</if>
					<foreach loop="navigation:$items['navigation'] as $idx => $data">
						<li><if test="didfirstappnow:|:$this->did_first_bottom"><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']} {$data[0]}'></if>{$data[0]}<if test="closenavigationlink:|:$data[1]"></a></if></li>
						<if test="forsuredidfirstnav:|:$this->did_first_bottom=1"></if>
					</foreach>
				<else />
					<li> </li>
				</if>
			</ol>
			<span class='right ipsType_smaller' style='margin-top: 10px;'>
				<if test="privvy:|:$this->settings['priv_title']">
					<a rel="nofollow" href='{parse url="app=core&module=global&section=privacy" template="privacy" seotitle="false" base="public"}'>{$this->settings['priv_title']}</a> 
				</if>
				<if test="siteruleslink:|:$this->settings['gl_show'] and $this->settings['gl_title']">
					<a href='<if test="ruleslink:|:$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&module=extras&section=boardrules" base="public"}</if>'><if test="siterulestitle:|:$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a><if test="privvyMiddot:|:$this->settings['priv_title']"> · </if>
				</if>	
			</span>

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...