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

Top menu help...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-13-2004, 11:14 AM
 
macabi macabi is offline
 

Newbie
  
Join Date: Jul 2004
Location: Orlando, FL
Posts: 7
 

Default Top menu help...

can someone point me in the right direction on how to move the search box, and what .tpl file to edit if I'm gonna want to have a home button and email in the top banner? I saw somepeople haveing text links over the image is that simple php? Or is the best way to go in adobe image ready and slice it up with links?
__________________
X-Cart 4.1.7
Windows
Reply With Quote
  #2  
Old 07-13-2004, 04:22 PM
 
macabi macabi is offline
 

Newbie
  
Join Date: Jul 2004
Location: Orlando, FL
Posts: 7
 

Default

any help? how about just the easiest way to move the search bar and will it be over top of an image
__________________
X-Cart 4.1.7
Windows
Reply With Quote
  #3  
Old 07-14-2004, 02:14 AM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default

you can find it in header.tpl

just movie search.tpl code where you want it.
__________________
X-Cart Version 4.1.8
Hosted on Linux
Reply With Quote
  #4  
Old 07-16-2004, 10:36 AM
 
Yang Xu Yang Xu is offline
 

Senior Member
  
Join Date: May 2004
Location: Portland, Oregon
Posts: 175
 

Default

Hi, macabi:

Look at my page below to see if it is the way you want, I will PM you the mod.

Have fun!
__________________
Carts n Tools.com
- New Root HTML Generator
- Templates | Add-Ons | Services
- XCart 4.0.x
Reply With Quote
  #5  
Old 07-16-2004, 01:27 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Quote:
Originally Posted by Yang Xu
Hi, macabi:

Look at my page below to see if it is the way you want, I will PM you the mod.

Have fun!

I was about to do something like that and I did not know hot to start can you show me how Yang Xu


Kind regards
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #6  
Old 07-16-2004, 08:17 PM
 
Yang Xu Yang Xu is offline
 

Senior Member
  
Join Date: May 2004
Location: Portland, Oregon
Posts: 175
 

Default

Hi, Ricky:

Basicly you need to modify the file: skin1/customer/top_menu.tpl, below is my file:

Quote:
<table border=0 cellpadding=0 cellspacing=0 height=70>
{if $speed_bar}
<tr>
<td align=right valign=top>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td class="TabBar" valign=top>|</td>
{section name=sb loop=$speed_bar}
{if $speed_bar[sb].active eq "Y"}
<td>{include file="customer/tab.tpl" tab_title="<font class=Tab>`$speed_bar[sb].title`</font>"}</td>
<td width=1>[img]{$ImagesDir}/spacer.gif[/img]</td>
{/if}
{/section}
</tr>
</table>
</td>
</tr>
{/if}
{if $usertype eq "C"}
<tr>
<td align=right valign=bottom>
<table border=0 cellpadding=0 cellspacing=0>
<form method="get" action="search.php" name=productsearchform>
<tr align=center valign=middle>
<td class="Tab">{$lng.lbl_search}:</td>
<td valign="middle">
<input type="text" name="substring" size="16" value="{$smarty.get.substring|escape}">
</td>
<td valign="middle">{include file="buttons/search_head.tpl"}
</td>
<td width=20></td>
<td><font class="Tab">{$lng.lbl_advanced_search}</font></td>
</tr>
</form>
</table>
</td>
</tr>
{/if}
</table>

Let me know if you have questions.


Yang Xu

Senior Software Engineer
__________________
Carts n Tools.com
- New Root HTML Generator
- Templates | Add-Ons | Services
- XCart 4.0.x
Reply With Quote
  #7  
Old 07-17-2004, 07:52 AM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Yang Xu

I will give it a try and see if i can replicate. Thank you so much

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #8  
Old 11-10-2004, 07:19 PM
 
jake61 jake61 is offline
 

Member
  
Join Date: Nov 2004
Posts: 13
 

Default

Yang Xu

I tried your modification on the skin1/customer/top_menu.tpl file and didn't get my page to look anything like yours. When I changed the file back to the original, it doesn't change back. Any idea how to get my header back to the original?

Jake
__________________
X-Cart 3.5.12
Reply With Quote
  #9  
Old 11-11-2004, 05:57 AM
 
longhorn180 longhorn180 is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Richmond, Virginia
Posts: 187
 

Default

If you go to edit templates and open up that file then you can hit restore file and it will change it back to the original code. If you did that and you are still not seeing changes then try to clear out your templates cache.
__________________
4.1.9 (Linux) Live Store
www.thecrackedbook.com
Find used books and out of print books.
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 06:57 PM.

   

 
X-Cart forums © 2001-2020