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)
-   -   Help with border images (https://forum.x-cart.com/showthread.php?t=21524)

evil1now 05-03-2006 08:08 AM

Help with border images
 
Hi all very new to this stuff..
And thought i would try it out on my own..

I have figured out alot of it by reading here..

But the next step i need to work on i cant seam to figure out where to even look..

I have a layout that i already have used on my other non xcart site..

Here is the link to my x-cart site
http://moviez4u.com/Mv/home.php

You can see that the borders are missing..
what i would like to do is move the menu boxes closer in and be able to add the borders on the left and right to go all the way down to the bottom and line up correct...

Any help would be great..

Like i said very new to this and trying to learn on my own..

Thanks,

wjbrewer 05-03-2006 10:31 AM

customer/main.tpl

This is your main layout tpl for the body of the website. Just add the code for the graphics on the side.

evil1now 05-03-2006 05:23 PM

Hi there
sorry i forgot to update my cart version in my profile..

i have 4.1.0
and there is no main.tpl
Only in customer/main/
but there is only 1 line of code in this file..

Thanks,
Justin

wjbrewer 05-03-2006 05:33 PM

Sorry...it's customer/home.tpl

evil1now 05-03-2006 08:32 PM

Thanks
could you look over my code and see why i keep getting this error


Fatal error: Smarty error: [in customer/home.tpl line 78]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1265) in D:\HelmDomainData\LocalUser\moviez4u.com\wwwroot\M v\Smarty-2.6.12\Smarty.class.php on line 1095









Code:

{* $Id: home.tpl,v 1.88 2006/02/10 14:27:31 svowl Exp $ *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{config_load file="$skin_config"}
<html>
<head>
<title>
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|strip_tags|escape}
{if not %position.last%} :: {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|strip_tags|escape}
{if not %position.last%} :: {/if}
{/section}
{/if}
</title>
{include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />
</head>
<body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}>
{include file="rectangle_top.tpl" }
{include file="head.tpl" }
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="42" valign="top" background="http://moviez4u.com/Mv/skin1/images/lbar.gif">[img]http://moviez4u.com/Mv/skin1/images/lbar.gif[/img]</td>
<td class="VertMenuLeftColumn"> {if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
  {include file="customer/categories.tpl" }

  {/if}
  {if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"}
  {include file="modules/Bestsellers/menu_bestsellers.tpl" }
  {/if}
  {if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"}
  {include file="modules/Manufacturers/menu_manufacturers.tpl" }
  {/if}
  {include file="customer/special.tpl"}
  {include file="help.tpl" } [img]{$ImagesDir}/spacer.gif[/img] </td>
<td>
  {include file="location.tpl"}
 
  {include file="dialog_message.tpl"}
 
  {if $active_modules.Special_Offers ne ""}
  {include file="modules/Special_Offers/customer/new_offers_message.tpl"}
  {/if}
 
  {include file="customer/home_main.tpl"}
 
  </td>
<td class="VertMenuRightColumn"> {if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''}
  {include file="modules/SnS_connector/button.tpl"}

  {/if}
  {if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
  {include file="modules/Feature_Comparison/product_list.tpl" }

  {/if}
  {include file="customer/menu_cart.tpl" }

  {if $login eq "" }
  {include file="auth.tpl" }
  {else}
  {include file="authbox.tpl" }
  {/if}
  {include file="news.tpl" }
  {if $active_modules.XAffiliate ne ""}

  {include file="partner/menu_affiliate.tpl" }
  {/if}
  {if $active_modules.Interneka ne ""}

  {include file="modules/Interneka/menu_interneka.tpl" }
  {/if}

  {include file="poweredby.tpl" }

  [img]{$ImagesDir}/spacer.gif[/img] </td>
{if $categories ne &quot;&quot; and ($active_modules.Fancy_Categories ne &quot;&quot; or $config.General.root_categories eq &quot;Y&quot; or $subcategories ne &quot;&quot;)}
{include file=&quot;customer/categories.tpl&quot; }

{/if}
{if $active_modules.Bestsellers ne &quot;&quot; and $config.Bestsellers.bestsellers_menu eq &quot;Y&quot;}
{include file=&quot;modules/Bestsellers/menu_bestsellers.tpl&quot; }
{/if}
{if $active_modules.Manufacturers ne &quot;&quot; and $config.Manufacturers.manufacturers_menu eq &quot;Y&quot;}
{include file=&quot;modules/Manufacturers/menu_manufacturers.tpl&quot; }
{/if}
{include file=&quot;customer/special.tpl&quot;}
{include file=&quot;help.tpl&quot; }<td width="45" valign="top" background="http://moviez4u.com/Mv/skin1/images/rbar.gif">[img]http://moviez4u.com/Mv/skin1/images/rbar.gif[/img]</td>
</tr>
</table>
{include file="rectangle_bottom.tpl" }
</body>
</html>
{/if}


wjbrewer 05-04-2006 05:10 AM

Quote:

{if $categories ne &quot;&quot; and ($active_modules.Fancy_Categories ne &quot;&quot; or $config.General.root_categories eq &quot;Y&quot; or $subcategories ne &quot;&quot;)}
{include file=&quot;customer/categories.tpl&quot; }

{/if}

Instead of " you have the html &quot;, you need to change these to regular quotations. I assume this happened because you were using a WYSIWYG editor.

Also, the smarty compiler is pretty good about telling you where and what you errors are. If you see the error message, you should try to go to that line in the tpl, and you will probably find the error.

evil1now 05-04-2006 02:32 PM

WOW ok thanks

I was looking at the line just could not see what i was missing..

Any way now
Plz look at the site

and tell me what i am missing

http://moviez4u.com/Mv/home.php

thanks to every one ...

Almost there

Thanks

liquorsruz 05-11-2006 02:37 PM

For some reason I am also having a problem with borders not showing up.

We had started with v4.1 which I had partially modified prior to finding out that it wasn't a stable release. The work I did on those templates and css showed my borders just fine.

However after deleting that install and installing v4.0.18 I cannot get a border to show up regardless of how it is called. I have borders all through my css, I have tried adding them in tables as well as the td line.

Regardless of what I do, they won't show up. I have tried from the rectangle top, menu, header, search, and several other templates all with the same result - no borders.

Is there something simplae I am overlooking that could be preventing the borders from appearing?

Thank You,

Alex


All times are GMT -8. The time now is 08:00 PM.

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