Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding a Table or Column to Main Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-05-2010, 08:51 PM
 
gslcd gslcd is offline
 

Member
  
Join Date: Dec 2009
Posts: 15
 

Question Adding a Table or Column to Main Page

Hello,

I use the Gold v4.3.0 version with the "Vivid Dreams - Aquamarine" skin. I want to add a table or column to the main page. I want to put some Google ads or a Flash on the right hand side of the main page. I did edit the "home.tpl".

Code:
<div id="center-main"> {include file="customer/evaluation.tpl"} <!-- central space --> <table cellpadding="0" cellspacing="0" > <tr><td width=70%> {if $main neq "catalog" || $current_category.category neq ""} {include file="customer/bread_crumbs.tpl"} {/if} {if $gcheckout_enabled && $main ne "cart" && $main ne "checkout" && $main ne "anonymous_checkout" && $main ne "order_message"} {include file="modules/Google_Checkout/gcheckout_top_button.tpl"} {/if} {include file="customer/dialog_message.tpl"} {if $page_title} <h1>{$page_title|escape}</h1> {/if} {if $active_modules.Special_Offers} {include file="modules/Special_Offers/customer/new_offers_message.tpl"} {/if} {include file="customer/home_main.tpl"} </td> <td id="center" width=30%> {include file="customer/help/menu.tpl"} </td> </tr> </table> <!-- /central space --> </div> <div class="block-news-links"> <div class="block-news-links-2">

But it has a warning(Warning: Smarty error: unable to read resource: "customer/home_main.tpl" in /home/lcdparts/public_html/store/include/lib/smarty/Smarty.class.php on line 1093), cannot display the products, and I cannot make it works. Can you tell me how to do that?

Here is the URL: http://www.lcdpartsworld.com/store/home.php

Thanks.


-Andy
__________________
X-cart Gold 4.3.1 & 4.3.0

USWebCity.com
Online Shopping Store Hosting & more...
Reply With Quote
  #2  
Old 01-08-2010, 08:00 PM
 
gslcd gslcd is offline
 

Member
  
Join Date: Dec 2009
Posts: 15
 

Default Re: Adding a Table or Column to Main Page

The web site still has the errors. I don't know how to change(fix) it. Can someone please give some suggestions? How to add a column to the main page? Thanks.

- Andy
__________________
X-cart Gold 4.3.1 & 4.3.0

USWebCity.com
Online Shopping Store Hosting & more...
Reply With Quote
  #3  
Old 01-08-2010, 10:27 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Adding a Table or Column to Main Page

Don';t use tables, make a right column and style is similar to the left column.

Ash
__________________
xcart 5.1.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:49 PM.

   

 
X-Cart forums © 2001-2020