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

hierarchy tree

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 04-10-2007, 10:48 AM
 
imimin imimin is offline
 

Senior Member
  
Join Date: Mar 2007
Posts: 195
 

Default 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!
__________________
Demoing v4.4.2 for new site
Licensed v4.0.19
Reply With Quote
  #12  
Old 04-10-2007, 11:06 AM
 
imimin imimin is offline
 

Senior Member
  
Join Date: Mar 2007
Posts: 195
 

Default 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!
__________________
Demoing v4.4.2 for new site
Licensed v4.0.19
Reply With Quote
  #13  
Old 04-10-2007, 06:32 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default 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
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #14  
Old 04-11-2007, 10:55 AM
 
imimin imimin is offline
 

Senior Member
  
Join Date: Mar 2007
Posts: 195
 

Default 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?
__________________
Demoing v4.4.2 for new site
Licensed v4.0.19
Reply With Quote
  #15  
Old 04-11-2007, 12:54 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: hierarchy tree

just change it using css, wrap it in <span style="font-size:16px"></span>
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #16  
Old 04-16-2007, 10:26 AM
 
imimin imimin is offline
 

Senior Member
  
Join Date: Mar 2007
Posts: 195
 

Default 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!
__________________
Demoing v4.4.2 for new site
Licensed v4.0.19
Reply With Quote
  #17  
Old 04-16-2007, 10:27 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: hierarchy tree

http://forum.x-cart.com/viewtopic.php?t=24008
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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:35 AM.

   

 
X-Cart forums © 2001-2020