Quote:
Originally Posted by jdedba
Right after installing x-cart, I like to replace the home page link above the "Welcome to Your Company" with an image in the central aera.
I think that I should modify location.tpl and have the following code. But it does not work as what I want. Can you help me on this?
Thanks as lot.
Code:
{* $Id: location.tpl,v 1.13 2004/05/29 14:21:41 svowl Exp $ *}
{if $location}
<FONT>
{strip}
{section name=position loop=$location}
{if $location[position].1 ne "" }<A href="{$location[position].1}">{/if}
<DIV align=center>[img]{$ImagesDir}/J_home.jpg[/img]</div>
{if $location[position].1 ne "" }</A>{/if}
{if not %position.last%}::{/if}
{/section}
{/strip}
</FONT>
{/if}
Version 4.0.9
|
If I undersatnd what your saying, This is what you are seeing and where you want to go.
1) The home url in the location links present at the top of the center page will change as you go through your site and get deeper depending on the depth of your catagories and sub catagories. This lets the end user know where they are in the site and you can click on portions of that link to get back to various starting points. The beginning of the link is where your company name or web site name will be once configured and is automatic, so you DO NOT need to manually change this link.
Simply go to general settings, then to company settings and change or enter your site or company name. This will be "HOME" for a lack of a better analagy.
For the logo, xcart comes with the standard logo in the top left hand corner of the site page. This can be changed to what you wish by going to xcart_root/skin1/head.tpl , you will also want to edit xcart_root/skin1/head_admin.tpl AND xcart_root/skin1/head_printable.tpl
This will get your logo on ALL pages that will be visible for user end, admin end and printable pages.
there is a quick and dirty way of doing this of you wish also, this is to simply change the logo pic retaining the same default image name in the ski1.images file that places the logo where it goes. Look at all of the images and you will see what I am saying. Best way for custom look is to manually change the images in the head.tpl's and upload images to the same image file area where stock images are kept.
Hope this helps
