|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Posts: 14
Rep Power: 11 ![]() |
Hello,
Is there a way to remove the navigation bar and search from the top of the home page, while leaving it in place for the rest of the pages? I tried to edit my home.tpl page, but I didn't see anything in there to remove. Thank you.. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2008
Posts: 813
Rep Power: 22 ![]() |
There are several ways you can do this by testing for the specific page or pages.
One way is to edit your layout.tpl file and do a test. {if $SCRIPT_NAME == "/index.php"} show only what you want {else} showmenu and what other things you want {/if} By testing for script name you can make the basic layout page appear different for any page you like. Many people will also test like this {if $body == "home.tpl"} show only what you want {else} showmenu and what other things you want {/if} In general you can always get a list of available variables to test on any page by adding {debug} to the layout.tpl file. This fires up the smarty debug console. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing Steps From Checkout (And Navigation) | Jamesgt | v4 Questions & Support | 4 | 12-15-2008 07:22 AM |
| New Listings in index page | hel68c | v4 Modules / Modifications | 9 | 09-03-2008 11:46 AM |
| Add newlisting on index page | baukiki | v3.1 Modules & Modifications | 4 | 08-28-2008 08:32 AM |
| index page | Jessej | v3.0 Questions & Support | 1 | 01-22-2008 08:40 AM |
| Search on front/index page? | Unregistered | Pre Sales Questions | 2 | 07-01-2007 10:16 PM |