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

Help with border images

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-03-2006, 08:08 AM
 
evil1now evil1now is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 57
 

Default 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,
__________________
X-Cart Gold 4.1.0
windows 2003 server
Reply With Quote
  #2  
Old 05-03-2006, 10:31 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default

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.
Reply With Quote
  #3  
Old 05-03-2006, 05:23 PM
 
evil1now evil1now is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 57
 

Default

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
__________________
X-Cart Gold 4.1.0
windows 2003 server
Reply With Quote
  #4  
Old 05-03-2006, 05:33 PM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default

Sorry...it's customer/home.tpl
Reply With Quote
  #5  
Old 05-03-2006, 08:32 PM
 
evil1now evil1now is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 57
 

Default

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}
__________________
X-Cart Gold 4.1.0
windows 2003 server
Reply With Quote
  #6  
Old 05-04-2006, 05:10 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default

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.
Reply With Quote
  #7  
Old 05-04-2006, 02:32 PM
 
evil1now evil1now is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 57
 

Default

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
__________________
X-Cart Gold 4.1.0
windows 2003 server
Reply With Quote
  #8  
Old 05-11-2006, 02:37 PM
 
liquorsruz liquorsruz is offline
 

Newbie
  
Join Date: May 2006
Posts: 9
 

Default

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
__________________
X-Cart Pro v4.0.18
x-Fancy Categories
x-AOM
x-Affiliate
X-Offers
FTS Tab Menu
BCSE Reward Points
FTS X-Easy Checkout
CRP Referal Add-On
and a few freebies
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:12 PM.

   

 
X-Cart forums © 2001-2020