Support Forums


Go Back   68 Classifieds Forums > Help & Support > Modules / Plugins / Modifications

Notices

 
LinkBack Thread Tools Display Modes
Old 06-19-2009, 10:57 PM   #1
Junior Member
 
Join Date: Jun 2009
Posts: 4
Rep Power: 0
dysartwebs is on a distinguished road
Default Modifying Home Page using TemplateCodes

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
dysartwebs is offline   Reply With Quote
Old 06-20-2009, 07:51 PM   #2
Junior Member
 
Join Date: Jun 2009
Posts: 4
Rep Power: 0
dysartwebs is on a distinguished road
Default Figured it out

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}
dysartwebs is offline   Reply With Quote
Old 06-21-2009, 11:54 AM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 1,022
Rep Power: 27
seymourjames has a spectacular aura about
Default

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.
__________________
TemplateCodes.com
seymourjames is offline   Reply With Quote

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0