Hi,
I’m working on the site located at www.imillaroad.com, and was hoping for a way to remove the shopping card status above my slideshow block.
Any ideas?
Thanks,
Steve
/skins/imillaroad_doodle2/customer/top.tpl
Lines 43~60
Change from ```php
{include file="views/checkout/components/cart_status.tpl"}
{if $localizations|sizeof > 1}
{/if}
{if $languages|sizeof > 1}
{/if}
{if $currencies|sizeof > 1}
{/if}
```TO
```php
[COLOR=Red][B]{*[/B][/COLOR]
{include file="views/checkout/components/cart_status.tpl"}
{if $localizations|sizeof > 1}
{/if}
{if $languages|sizeof > 1}
{/if}
{if $currencies|sizeof > 1}
{/if}
[B][COLOR=Red]*}[/COLOR][/B]
```
Thanks for your help Jesse! That did the trick… but now I just have to figure it out for just the homepage. I’m thinking I may clone top.tpl and create a top-index.tpl…
Thanks again.
{if $controller == ‘index’ && $mode == ‘index’}
you’re on home page
{else}
you’re not on home page
{/if}
For your case specifically, change the opening comment mark that Jesse gave you to:
{if $controller != ‘index’ || $mode != ‘index’}
and then change the closing comment to
{/if}
Thanks for your help! You guys are great!
Actually, probably don’t need the $mode portion of the if statement. Only need it to be
```php
{if $controller == ‘index’ }
Home page code here
{else}
Non-home page code here
{/if}
[quote name='tbirnseth' timestamp='1307816379' post='114771']
{if $controller == 'index' && $mode == 'index'}
you're on home page
{else}
you're not on home page
{/if}
For your case specifically, change the opening comment mark that Jesse gave you to:
{if $controller != 'index' || $mode != 'index'}
and then change the closing comment to
{/if}
[/quote]
This is what I thought. But my wishlist, promotions page still detected as home. I really dont know why. Does anyone know?