Hiding the search box on homepage only

I’m trying to hide the search box for the homepage only.



Can somebody help me with this please?

Put IF statement around the search box code that gets current dispatch:



if !homepage

Show search…



Very straightforward.

Here is what I did:


```php {if !homepage}



{include file="common_templates/search.tpl"} ```

I'm sure I missed something since it didn't work.

Nah, that was a pseudo code… Not copy and paste.

{if $controller == 'index'}
display this
{else}
display something else
{/if}

Thanks Jesse,



it worked just fine…

[quote name=‘TexasGuy’]Put IF statement around the search box code that gets current dispatch:



if !homepage

Show search…



Very straightforward.[/QUOTE]





I want modify the CS Cart in only a CMS software, I want to hide the search and the log in from the top of the pages…

what are the file to edit?



Please can You give me some advice to turn in cms?



Thank you

Ok, I have modify the file top.tpl from admin-> Design → Template editor…



Thank you



I have a new problem, if I need in place off the header logo with only the link to the home page, 4 logos with 4 links… What should I do?



Thank you

@ Logo is replaced by the text



This will be done in the top.tpl



{$settings.Company.company_name}




@ 4 logos and 4 images



are you talking about Logos for Backend, Front end, Email and Error Page???



For these, you need to check out the respected files

skin/admin

skin/customer

skin/Email



Thanks

Perochak


[quote name=‘talabo’]Ok, I have modify the file top.tpl from admin-> Design → Template editor…



Thank you



I have a new problem, if I need in place off the header logo with only the link to the home page, 4 logos with 4 links… What should I do?



Thank you[/QUOTE]