|
|
#1 |
|
Junior Member
Join Date: Jun 2009
Posts: 4
Rep Power: 0 ![]() |
I have started working on the design for our new website. I purchased TemplateCodes to give me a good starting poing and need some help with the home page. I would like to hide the left column only on the home page and want it to appear on all the other pages. I didn't know if there was something simple I could do to accomplish this. Any advice would be greatly appreciated.
68C Version: v4.1.3 Developer TemplateCodes: 2.0 |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jun 2009
Posts: 4
Rep Power: 0 ![]() |
New to smarty templates so a little a bit of a learning curve. Fixed it with
{if $script_name == "index.php"} {else} <div class="col_left_sidebar" style="float: left; left: 10px;position: relative;"> {foreach from=$left_col item=row} {include file=$row.template} {/foreach} </div> {/if} |
|
|
|
|
|
#3 |
|
All Hands On Deck
Join Date: Mar 2008
Posts: 1,022
Rep Power: 27 ![]() |
Yes you can do that but it is going to leave a big gap between the view window and the right hand column. You will probably need make a 2nd modified style sheet and rescale some images too. This would then be referenced from a second layout.tpl file (used only by the home page). Well there are probably other solutions using javascript but that this comes to mind first of all. There is a post about using multiple layout templates in this forum.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Home Page Title | Kyan | v4.1 Questions & Support | 14 | 04-06-2009 04:07 PM |
| Home Page Problem 2 | go3matix | v4 Questions & Support | 3 | 02-03-2009 12:26 AM |
| placing a video on my about us page or the home page?? | apotrader | v4 Questions & Support | 4 | 11-04-2008 10:11 PM |
| Home Page placecard | tnp2008 | HTML, CSS, and Design Help | 1 | 04-03-2008 02:02 PM |
| Different Template for home page | RyanG | HTML, CSS, and Design Help | 11 | 01-18-2007 10:46 AM |