X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding a Table or Column to Main Page (https://forum.x-cart.com/showthread.php?t=51625)

gslcd 01-05-2010 08:51 PM

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

gslcd 01-08-2010 08:00 PM

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

ARW VISIONS 01-08-2010 10:27 PM

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


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.