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

Footer at Bottom of page

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

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Footer at Bottom of page

Hiya guys, ive decided to have a go at designing a new template for my xcart site and ive run into a little problem, i have read the editing guide from here but must be doing something wrong.

I have managed to do a lot of my design by myself editing the tpl files etc, placed my background but i intend on having a shaped graphic at the bottom and i cannot for the life of me figure out where im supposed to put the code.

Sorry for my diagram but ive created this to try to explain what i mean

http://www.collectif.co.uk/samp1.jpg

I have used the text "FOOTER" to show show what i mean.

All i require is to be able to pout the text from inside the white area (blue arrow) to outside the white area (red arrow)

I have tried putting it in skin1/bottom.tpl at the end with no luck and i have also tried it in rectangle_bottom.tpl & powered by but i cannot seem to get it outside the box.

Its probably really simple but i just need pointing in the right direction of the file im supposed to edit please

any help would be appreciated

Liam
__________________
X-Cart Version 4.55
Reply With Quote
  #2  
Old 05-29-2008, 12:30 PM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Footer at Bottom of page

anyone ?
__________________
X-Cart Version 4.55
Reply With Quote
  #3  
Old 05-29-2008, 02:12 PM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default Re: Footer at Bottom of page

Quote:
Originally Posted by liamb2001
anyone ?
Have you tried just putting your footer text in /skin1/customer/home.tpl at the bottom before the closing </body> tag?
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #4  
Old 05-30-2008, 01:42 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Footer at Bottom of page

yes mate did the same
__________________
X-Cart Version 4.55
Reply With Quote
  #5  
Old 05-30-2008, 02:15 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Footer at Bottom of page

anyone else any idea ?
__________________
X-Cart Version 4.55
Reply With Quote
  #6  
Old 05-30-2008, 04:05 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Footer at Bottom of page

Quote:
Originally Posted by liamb2001
anyone else any idea ?

I need "skin1/customer / home.tpl" source to help you.
Reply With Quote
  #7  
Old 05-30-2008, 06:28 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Footer at Bottom of page

{* $Id: home.tpl,v 1.88.2.11 2007/08/08 13:51:54 max 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 xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{strip}
{capture name=title}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{if not %position.first%}&nbsp;::&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{else}
{section name=position loop=$location step=-1}
{if not %position.first%}&nbsp;::&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{/if}
{/capture}
{if $config.SEO.page_title_limit <= 0}
{$smarty.capture.title}
{else}
{$smarty.capture.title|replace:"&nbsp;":" "|truncate:$config.SEO.page_title_limit|replac e:" ":"&nbsp;"}
{/if}
{/strip}</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}
<!-- main area -->
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<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" }
<img src="http://www.mavenstudios.co.uk/vitainteriors/sales1.jpg" /><br />
{/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"}
{if $active_modules.Survey && $menu_surveys}
{foreach from=$menu_surveys item=menu_survey}
{include file="modules/Survey/menu_survey.tpl"}
<br />
{/foreach}
{/if}
{include file="help.tpl" }
<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>
<td valign="top" width="100%">
<!-- central space -->
{include file="location.tpl"}

{if $gcheckout_enabled and $main ne "cart" and $main ne "checkout" and $main ne "anonymous_checkout" and $main ne "order_message"}
<div align="right">{include file="modules/Google_Checkout/gcheckout_button.tpl"}</div>
{/if}

{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"}
<!-- /central space -->
&nbsp;
</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"}
<br />
{/if}
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
<br />
{/if}
{include file="customer/menu_cart.tpl" }
<br />
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}
{include file="news.tpl" }
{if $active_modules.XAffiliate ne "" && $config.XAffiliate.partner_register eq 'Y'}
<br />
{include file="partner/menu_affiliate.tpl" }
{/if}
{if $active_modules.Interneka ne ""}
<br />
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
<br />
{include file="poweredby.tpl" }
<br />
<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>
</tr>
</table>
{include file="rectangle_bottom.tpl" }
{if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""}
{include file="modules/Google_Analytics/ga_code.tpl"}
{/if}
</body>
</html>
{/if}
__________________
X-Cart Version 4.55
Reply With Quote
  #8  
Old 05-30-2008, 06:28 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Footer at Bottom of page

theyre you go mate, i have actually tried poutting at the bottom of that but with no luck
__________________
X-Cart Version 4.55
Reply With Quote
  #9  
Old 05-30-2008, 06:44 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Footer at Bottom of page

Quote:
Originally Posted by liamb2001
theyre you go mate, i have actually tried poutting at the bottom of that but with no luck

With this file everything is fine.

Try after these lines inserted your text and after that - cleaning cache (http://yourdomain.com/xcart/cleanup.php).

PHP Code:
{if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""}
{include 
file="modules/Google_Analytics/ga_code.tpl"}
{/if} 


If that does not help, give a link to your store with already pasted some text (which is above). I would look where the error occurred.
Reply With Quote
  #10  
Old 05-31-2008, 02:03 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Footer at Bottom of page

hiya, i did what you said but it diddnt work, it still puts it inside the white box

the link to my site is here

http://www.mavenstudios.co.uk/vitainteriors
__________________
X-Cart Version 4.55
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 11:01 AM.

   

 
X-Cart forums © 2001-2020