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)
-   -   Top menu help... (https://forum.x-cart.com/showthread.php?t=8437)

macabi 07-13-2004 11:14 AM

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?

macabi 07-13-2004 04:22 PM

any help? how about just the easiest way to move the search bar and will it be over top of an image

jeeya 07-14-2004 02:14 AM

you can find it in header.tpl

just movie search.tpl code where you want it.

Yang Xu 07-16-2004 10:36 AM

Hi, macabi:

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

Have fun!

rjcbear 07-16-2004 01:27 PM

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

Yang Xu 07-16-2004 08:17 PM

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

rjcbear 07-17-2004 07:52 AM

Yang Xu

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

Kind regards,
Ricky

jake61 11-10-2004 07:19 PM

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

longhorn180 11-11-2004 05:57 AM

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.


All times are GMT -8. The time now is 06:58 PM.

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