vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2007, 06:45 PM
Webnower Webnower is offline
Member
 
Join Date: Jul 2004
Posts: 41
Default Hide breadcrumb on CMPS index only?

Hi there,

Is it possible to hide the breadcrumb on the CMPS index? I'd like it to display on every other CMPS page (for example, index.php?pageid=about), just not the main index.

Thanks for your help
Reply With Quote
  #2  
Old 11-16-2007, 12:25 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Hide breadcrumb on CMPS index only?

The easiest way would probably be to edit your 'navbar' template and wrap an <if condition> around the code you don't want displayed on your homepage.

Code:
<if condition="$pages['name'] != 'home'">

Code to be hidden on the homepage here

</if>
Reply With Quote
  #3  
Old 12-15-2007, 12:18 AM
JoshFink JoshFink is offline
Member
 
Join Date: Oct 2004
Posts: 30
Default Re: Hide breadcrumb on CMPS index only?

Can you explain this a little more? I entered the following in my navbar_link template

PHP Code:
<if condition="$pages['name'] != 'home'">

   <if 
condition="$show['breadcrumb']">
    <
span class="navbar">&gt; <a href="$nav_url">$nav_title</a></span>
   <else />
    
$nav_title
   
</if>


</if> 
I was assuming that this would work as if I delete the contents of this template the results are as I want.

Thanks

Josh
Reply With Quote
  #4  
Old 01-02-2008, 09:15 AM
Electronic Punk Electronic Punk is offline
Junior Member
 
Join Date: Nov 2007
Posts: 16
Default Re: Hide breadcrumb on CMPS index only?

I gave this a go and it seems to have removed the breadcrumb completely.
Reply With Quote
  #5  
Old 01-02-2008, 09:34 AM
Electronic Punk Electronic Punk is offline
Junior Member
 
Join Date: Nov 2007
Posts: 16
Default Re: Hide breadcrumb on CMPS index only?

<if condition="THIS_SCRIPT != 'adv_index'"> Seems to work
Reply With Quote
  #6  
Old 08-04-2012, 11:17 AM
zascok zascok is offline
Junior Member
 
Join Date: Jun 2012
Posts: 12
Default

Quote:
Originally Posted by Electronic Punk View Post
<if condition="THIS_SCRIPT != 'adv_index'"> Seems to work
cheerz, it dose , even in vB4

<vb:if condition="THIS_SCRIPT != 'adv_index'">
Reply With Quote
  #7  
Old 08-05-2012, 07:27 PM
majidlucky majidlucky is offline
Junior Member
 
Join Date: Aug 2012
Posts: 1
Default

wat is bread crum?
__________________
Best Student Help Online
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No breadcrumb on index page? 7thGenCivic.com Troubleshooting & Problems 4 10-10-2005 12:17 AM
Remove Breadcrumb and welcome from index only cgmojoco "How Do I..." Questions 8 06-03-2005 10:58 PM
hide the Breadcrumb on Forumhome? moses Troubleshooting / "How do I..." Questions 1 05-03-2005 05:46 AM
How do I make CMPS my forums index page - i cant replace index.php jilly Troubleshooting / "How do I..." Questions 4 09-22-2004 12:03 PM
have breadcrumb/login frame only show on forums and not index? btappan Troubleshooting / "How do I..." Questions 5 08-01-2004 11:51 AM


All times are GMT -4. The time now is 01:59 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.