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)
-   -   hierarchy tree (https://forum.x-cart.com/showthread.php?t=30317)

imimin 04-09-2007 01:39 PM

hierarchy tree
 
I am not sure if I am asking this question in the right forum or not, but here goes:

Does x-cart have an option to add so a hierarchy tree is revealed at the top or bottom of each page as to where you are on your site (like the forums site does, such as:

Home > Page1 > Page2 > Page3 > Page4 > Page5

or









Thank you!

inebriate 04-09-2007 01:44 PM

Re: hierarchy tree
 
doesnt it have it by default (i dont use it myself, so i dont quite remember)? if its off you may want to check your settings in the admin panel

imimin 04-09-2007 01:46 PM

Re: hierarchy tree
 
It is on, but I do not see the home page listed?

I looked and could not find it. Do you (or someone) know where it is?

balinor 04-09-2007 03:32 PM

Re: hierarchy tree
 
Yes, it is location.tpl and it is on by default. Should appear in the top of the main window.

imimin 04-10-2007 09:46 AM

Re: hierarchy tree
 
Is posible to configure to show the home pagein the tree?

balinor 04-10-2007 09:48 AM

Re: hierarchy tree
 
It should by default

imimin 04-10-2007 10:16 AM

Re: hierarchy tree
 
This is a sample of what I see on my site:

:: Dog Food :: Meat:Processd Meat:Land of OZ:B DOG TREATS

notice that the home page is not showing up in the tree, the first thing that shows up is the first link I click on (Dog Food).

Do you (or anyone) know what might be wrong?

balinor 04-10-2007 10:18 AM

Re: hierarchy tree
 
It is because your company name is empty. Go to General Settings/Company Options and add a company name.

imimin 04-10-2007 10:33 AM

Re: hierarchy tree
 
If I do this, is it possible to display it in a MUCH bigger font size (currently I am using an image for the name, so I removed the company name).

balinor 04-10-2007 10:34 AM

Re: hierarchy tree
 
The company name needs to be in there for a variety of reasons, it doesn't affect the logo. You can change the size of the breadcrumbs in location.tpl.

imimin 04-10-2007 10:48 AM

Re: hierarchy tree
 
I want to put a break between "Welcome to" and the company name. I would like to set the font size of the company name to 16 or so keeping the size of the "Welcome to" the same. The location.tpl file seems to deal with the hierarchy tree. How would I modify the code for the "Welcom to Company Name" at the top of the home page.

Thank you!

imimin 04-10-2007 11:06 AM

Re: hierarchy tree
 
I am interested to see how I (we) can do this per my question in the last post above.

However, I tried modifying the "welcome.tpl" file as follows:

{* $Id: welcome.tpl,v 1.23.2.1 2005/04/23 08:32:48 max Exp $ *}
{if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''}
<H3>{$lng.lbl_welcome_back}, {$smarty.cookies.GreetingCookie|replace:"\'":"'"} </H3>
{else}
<!--<H3>{$lng.lbl_welcome_to} { $config.Company.company_name }</H3>-->
{/if}
{$lng.txt_welcome}
<P>
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
<P>
{include file="customer/main/featured.tpl" f_products=$f_products}

notice that I just commented out the <!--<H3>{$lng.lbl_welcome_to} { $config.Company.company_name }</H3>--> portion of the script. If I leave it like this, will it affect any other portion of the script?

Thanks!

inebriate 04-10-2007 06:32 PM

Re: hierarchy tree
 
you should get used to the smarty syntax for commenting things out by using {* *}

as for your question, what you have commented out above will not effect the rest of the template,...you might as well comment out the {else} as well

imimin 04-11-2007 10:55 AM

Re: hierarchy tree
 
Quote:

Originally Posted by imimin
I want to put a break between "Welcome to" and the company name. I would like to set the font size of the company name to 16 or so keeping the size of the "Welcome to" the same. The location.tpl file seems to deal with the hierarchy tree. How would I modify the code for the "Welcom to Company Name" at the top of the home page.

Thank you!


Can I get a comment on this?

inebriate 04-11-2007 12:54 PM

Re: hierarchy tree
 
just change it using css, wrap it in <span style="font-size:16px"></span>

imimin 04-16-2007 10:26 AM

Re: hierarchy tree
 
Thanks!

Anoter question on this topic:

How can I change the name that appears on the home name of the hierarchy tree from displaying the "Company Name" to the caption that reads "Home"?

Thanks again!

balinor 04-16-2007 10:27 AM

Re: hierarchy tree
 
http://forum.x-cart.com/viewtopic.php?t=24008


All times are GMT -8. The time now is 05:56 PM.

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