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

More Column Help

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-24-2003, 12:05 PM
 
rfcomponents.co.uk rfcomponents.co.uk is offline
 

Member
  
Join Date: Jun 2003
Posts: 19
 

Default More Column Help

Hi, Can anyone tell me if this is possible to do?

I would like to make the dark orange band which holds the words Categories, Help, etc on the left hand column reach all the way to the edge of the browsers window instead of having the very small gap of about 5 pixels which is currently there.

If you visit my site you can see the gap which i mean http://rfcomponents.co.uk/customer/home.php

Thanks
Reply With Quote
  #2  
Old 06-24-2003, 12:36 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

edit home.tpl and remove the cell on the left
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 06-24-2003, 01:00 PM
 
rfcomponents.co.uk rfcomponents.co.uk is offline
 

Member
  
Join Date: Jun 2003
Posts: 19
 

Default

Thanks for your reply Shan. In my code for home.tpl there doesn't seem to be any left cell. Here's my current home.tpl code

[code]{* $Id: home.tpl,v 1.56 2003/04/14 13:17:50 svowl Exp $ *}
{ config_load file="$skin_config" }
<html>
<head>
<title>{$lng.txt_site_title}</title>
{ include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
</head>
<body LEFTMARGIN=4 TOPMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
{ include file="rectangle_top.tpl" }
{ include file="head.tpl" }

<table border=0 width="100%" cellpadding=0 cellspacing=0 align="center">
<tr>
<td class=VertMenuBox width=6></td>
<td class=VertMenuBox width=150 valign=top>
{if $login eq "" }
{ include file="auth.tpl"}
{else}
{ include file="admin/menu.tpl"}


{ include file="provider/menu.tpl" }
{/if}


{ include file="help.tpl" }
</td>
<td width=20></td>
<td valign=top>

{if $smarty.get.mode eq "subscribed"}
{include file="main/subscribe_confirmation.tpl"}

{elseif $main eq "product_links"}
{include file="admin/main/product_links.tpl"}

{elseif $main eq "general_info"}
{include file="admin/main/general.tpl"}

{elseif $main eq "vat_rates"}
{include file="provider/main/vat_rates.tpl"}

{elseif $main eq "pages"}
{include file="admin/main/pages.tpl"}

{elseif $main eq "page_edit"}
{include file="admin/main/page_edit.tpl"}

{elseif $main eq "countries_edit"}
{include file="admin/main/countries.tpl"}

{elseif $main eq "images_location"}
{include file="admin/main/images_location.tpl"}

{elseif $main eq "atracking"}
{include file="admin/main/atracking.tpl"}

{elseif $main eq "shipping_markups"}
{include file="provider/main/shipping_markups.tpl"}

{elseif $main eq "shipping_options"}
{include file="admin/main/shipping_options.tpl"}

{elseif $main eq "subscriptions"}
{include file="modules/Subscriptions/subscriptions_admin.tpl"}

{elseif $main eq "languages"}
{include file="admin/main/languages.tpl"}

{elseif $main eq "banner_info"}
{include file="main/banner_info.tpl"}

{elseif $main eq "memberships"}
{include file="admin/main/memberships.tpl"}

{elseif $main eq "card_types"}
{include file="admin/main/card_types.tpl"}

{elseif $main eq "partner_report"}
{include file="admin/main/partner_report.tpl"}

{elseif $main eq "partner_banners"}
{include file="admin/main/partner_banners.tpl"}

{elseif $main eq "commitions"}
{include file="admin/main/partner_commitions.tpl"}

{elseif $main eq "payment_upload"}
{include file="admin/main/payment_upload.tpl"}

{elseif $main eq "payment_history"}
{include file="admin/main/payment_history.tpl"}

{elseif $smarty.get.mode eq "unsubscribed"}
{include file="main/unsubscribe_confirmation.tpl"}

{elseif $main eq "search"}
{include file="main/search_result.tpl"}

{elseif $main eq "categories"}
{include file="admin/main/categories.tpl"}

{elseif $main eq "modules"}
{include file="admin/main/modules.tpl"}

{elseif $main eq "payment_methods"}
{include file="admin/main/payment_methods.tpl"}

{elseif $main eq "cc_processing"}
{include file=$processing_module }

{elseif $main eq "edit_file"}
{include file="admin/main/edit_file.tpl"}

{elseif $main eq "edit_file_message"}
{include file="admin/main/edit_file_message.tpl"}

{elseif $main eq "new_file_message"}
{include file="admin/main/new_file_message.tpl"}

{elseif $main eq "delete_file_message"}
{include file="admin/main/delete_file_message.tpl"}

{elseif $main eq "upload_file_message"}
{include file="admin/main/upload_file_message.tpl"}

{elseif $main eq "copy_file_message"}
{include file="admin/main/copy_file_message.tpl"}

{elseif $main eq "edit_dir"}
{include file="admin/main/edit_dir.tpl"}

{elseif $main eq "countries"}
{include file="provider/main/countries.tpl"}

{elseif $main eq "import_images"}
{include file="provider/main/import_images.tpl"}

{elseif $main eq "statistics"}
{include file="admin/main/statistics.tpl"}

{elseif $main eq "configuration"}
{include file="admin/main/configuration.tpl"}

{elseif $main eq "newsletter"}
{include file="admin/main/newsletter.tpl"}

{elseif $main eq "shipping"}
{include file="admin/main/shipping.tpl"}

{elseif $main eq "newsletter_modify"}
{include file="admin/main/newsletter_modify.tpl"}

{elseif $main eq "newsletter_modify_message"}
{include file="admin/main/newsletter_modify_message.tpl"}

{elseif $main eq "newsletter_add_message"}
{include file="admin/main/newsletter_add_message.tpl"}

{elseif $main eq "newsletter_send_message"}
{include file="admin/main/newsletter_send_message.tpl"}

{elseif $main eq "states_edit"}
{include file="admin/main/states.tpl"}

{elseif $main eq "users"}
{include file="single/main/users.tpl"}

{elseif $main eq "featured_products"}
{include file="admin/main/featured_products.tpl"}

{elseif $main eq "category_modify"}
{include file="admin/main/category_modify.tpl"}

{elseif $main eq "category_delete_confirmation"}
{include file="admin/main/category_del_confirmation.tpl"}

{elseif $main eq "category_delete_message"}
{include file="admin/main/category_delete_message.tpl"}

{elseif $main eq "user_delete_confirmation"}
{include file="admin/main/user_delete_confirmation.tpl"}

{elseif $main eq "user_delete_message"}
{include file="admin/main/user_delete_message.tpl"}

{elseif $main eq "user_add"}
{if $smarty.get.usertype eq "A"}
{assign var="last_location" value="Create administrator"}
{elseif $smarty.get.usertype eq "P"}
{assign var="last_location" value="Create provider"}
{else}
{assign var="last_location" value="Create customer"}
{/if}
{include file="main/register.tpl"}

{elseif $main eq "product"}
{include file="main/product.tpl" product=$product}

{elseif $main eq "discounts"}
{include file="provider/main/discounts.tpl"}

{elseif $main eq "coupons"}
{include file="modules/Discount_Coupons/coupons.tpl"}

{elseif $main eq "product_options"}
{if $active_modules.Product_Options ne ""}
{include file="modules/Product_Options/global_prodopts.tpl"}
{/if}

{elseif $main eq "extra_fields"}
{if $active_modules.Extra_Fields ne ""}
{include file="modules/Extra_Fields/extra_fields.tpl"}
{/if}

{elseif $main eq "states"}
{include file="provider/main/states.tpl"}

{elseif $main eq "giftcerts"}
{include file="modules/Gift_Certificates/gc_admin.tpl"}

{elseif $main eq "db_backup"}
{include file="admin/main/db_backup.tpl"}

{elseif $main eq "countries"}
{include file="provider/main/countries.tpl"}

{elseif $main eq "import"}
{include file="provider/main/import.tpl"}

{elseif $main eq "export"}
{include file="provider/main/export.tpl"}

{elseif $main eq "shipping_rates"}
{include file="provider/main/shipping_rates.tpl"}

{elseif $main eq "shipping_zones"}
{include file="provider/main/shipping_zones.tpl"}

{elseif $main eq "home" and $login ne ""}
{include file="admin/main/promotions.tpl"}
{include file="provider/main/promotions.tpl"}

{elseif $main eq "home"}
{include file="admin/main/welcome.tpl"}

{elseif $main eq "ratings_edit"}
{include file="admin/main/ratings_edit.tpl"}

{elseif $main eq "inv_update"}
{include file="provider/main/inv_update.tpl"}

{elseif $main eq "inv_updated"}
{include file="main/inv_updated.tpl"}

{elseif $main eq "error_inv_update"}
{include file="main/error_inv_update.tpl"}

{elseif $main eq "html_catalog"}
{include file="admin/main/html_catalog.tpl"}

{elseif $main eq "prodconf"}
{include file="modules/Product_Configurator/pc_admin.tpl"}

{elseif $main eq "prodconfsearch"}
{include file="modules/Product_Configurator/pcsearch_admin.tpl"}

{else}
{include file="common_templates.tpl"}
{/if}



</td>
<td width=20></td>
<td width=150 class=VertMenuBox valign=top>
{if $login eq "" }
{ include file="news.tpl" }
{else}
{ include file="authbox.tpl" }


{ include file="admin/menu_admin.tpl" }


{ include file="admin/menu_affiliate.tpl" }
{ include file="single/menu_profile.tpl" }
{/if}




{ include file="poweredby.tpl" }


</td>
</tr>
</table>
{ include file="rectangle_bottom.tpl" }
</body>
</html>
[code][/code]
Reply With Quote
  #4  
Old 06-24-2003, 02:07 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Find this

Code:
<table border=0 width="100%" cellpadding=0 cellspacing=0 align="center"> <tr> <td class=VertMenuBox width=6></td> <td class=VertMenuBox width=150 valign=top>

change to

Code:
<table border=0 width="100%" cellpadding=0 cellspacing=0 align="center"> <tr> <td class=VertMenuBox width=150 valign=top>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 06-24-2003, 03:11 PM
 
rfcomponents.co.uk rfcomponents.co.uk is offline
 

Member
  
Join Date: Jun 2003
Posts: 19
 

Default

Thanks for sorting that code out Shan but there seems to be one little problem. When you log into the main cart (customer side) there seems to be no change. But when you log into the admin side of the cart the code has worked. Is there anything else which i might need to adjust to make the code work on customer side.

Customer Side= http://rfcomponents.co.uk/customer/home.php
Admin Side= http://rfcomponents.co.uk/admin

Cheers
Reply With Quote
  #6  
Old 06-24-2003, 04:34 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

customer = skin1/customer/home.tpl
admin = skin1/single/home.tpl
fulfilment = skin1/fulfilment/home.tpl
partner = skin1/partner/home.tpl

same change in all files
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #7  
Old 06-24-2003, 05:24 PM
 
rfcomponents.co.uk rfcomponents.co.uk is offline
 

Member
  
Join Date: Jun 2003
Posts: 19
 

Default

Thanks Shan that worked a treat!
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 09:30 AM.

   

 
X-Cart forums © 2001-2020