| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
moving search bar | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Re: moving search bar
The problem looks like it is still there. View the source.
Also when you have sorted that. To get that search box right aligned go into customer/search.tpl and edit... <table cellpadding="0" cellspacing="0"> to <table cellpadding="0" cellspacing="0" align="right">
__________________
Doms kube v4.1.9 |
|||||||||
#12
|
|||||||
|
|||||||
Re: moving search bar
I have looked everywhere for the code you reference as being an issue...here is my head.tpl
{* $Id: head.tpl,v 1.58.2.1 2007/09/03 06:15:21 max Exp $ *} <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td class="HeadLogo"><a href="{$http_location}/"><img src="{$ImagesDir}/logo.jpg" alt="" /></a></td> <td class="HeadRightBox"> {if $main ne "fast_lane_checkout"} {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} {/if} </td> </tr> </table> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td class="subnav">{if $usertype eq "C"} {include file="customer/speed_bar.tpl"} {/if} </td> </tr> </table> <table cellpadding="0" cellspacing="0" width="100%"> {if $main ne "fast_lane_checkout"} <tr> {*<td class="HeadLine" height="22"> {if $usertype eq "C"} { include file="customer/search.tpl" } {/if}*} </td> <td class="HeadLine" align="right"> {if ($usertype eq "C" || $usertype eq "B") && $all_languages_cnt gt 1} <form action="home.php" method="get" name="sl_form"> <input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING|amp}" /> <table cellpadding="0" cellspacing="0"> <tr> <td style="padding-right: 5px; vertical-align: middle;">{$lng.lbl_select_language}:</td> <td><select name="sl" onchange="javascript: this.form.submit();"> {section name=ai loop=$all_languages} <option value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected="selected"{/if}>{$all_languages[ai].language}</option> {/section} </select></td> </tr> </table> </form> {else} {/if} </tr> <tr> <td colspan="2"> {include file="customer/header_sub.tpl"} </td> </tr> {else} {* Fast Lane Checkout page *} <tr> <td colspan="2" class="HeadLine"> <form action="{$xcart_web_dir}/include/login.php" method="post" name="toploginform"> <input type="hidden" name="mode" value="logout" /> <input type="hidden" name="redirect" value="{$redirect|escape}" /> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td class="FLCAuthPreBox"> {if $active_modules.SnS_connector and $sns_collector_path_url ne '' && $config.SnS_connector.sns_display_button eq 'Y'} <img src="{$ImagesDir}/rarrow.gif" alt="" valign="middle" /><b>{include file="modules/SnS_connector/button.tpl" text_link="Y"}</b> {else} <img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /> {/if} </td> {if $login ne ""} <td align="right" nowrap="nowrap"><b>{$userinfo.firstname} {$userinfo.lastname}</b> {$lng.txt_logged_in}</td> <td class="FLCAuthBox"> {if $js_enabled} {include file="buttons/button.tpl" button_title=$lng.lbl_logoff href="javascript: document.toploginform.submit();" js_to_href="Y"} {else} {include file="buttons/logout_menu.tpl"} {/if} </td> {/if} </tr> </table> </form> </td> </tr> {/if} {******** Remove this line to display how much products there are online **** <tr> {insert name="productsonline" assign="_productsonline"} <td colspan="2" class="NumberOfArticles" align="right"> {if $config.Appearance.show_in_stock eq "Y"} {insert name="itemsonline" assign="_itemsonline"} {$lng.lbl_products_and_items_online|substitute:"X" :$_productsonline:"Y":$_itemsonline} {else} {$lng.lbl_products_online|substitute:"X":$_product sonline} {/if} </td> </tr> **** Remove this line to display how much products there are online ********} {if $main ne "fast_lane_checkout"}{else} {* Fast Lane Checkout page *} <tr> <td colspan="2" class="FLCTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></td> </tr> {/if} </table>
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#13
|
|||||||||
|
|||||||||
Re: moving search bar
Here it is, find...
{if $main ne "fast_lane_checkout"} <tr> {*<td class="HeadLine" height="22"> {if $usertype eq "C"} { include file="customer/search.tpl" } {/if}*} </td> <td class="HeadLine" align="right"> Change it to (noting where the ending comment has moved to and the additional colspan in the following TD)... {if $main ne "fast_lane_checkout"} <tr> {*<td class="HeadLine" height="22"> {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} </td>*} <td class="HeadLine" align="right" colspan="2"> Remember to back up & let us know your results. Doms
__________________
Doms kube v4.1.9 |
|||||||||
#14
|
|||||||
|
|||||||
Re: moving search bar
ok implemented that....thanks! Also, the search bar since it has moved there is a line or block of black below my speed bar now, ho can i remedy this?
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#15
|
|||||||
|
|||||||
Re: moving search bar
ok figured that out yet when i removed it i get a huge line of blank space...is there a way to bring the categories and featured products flush with the speed bar now?
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#16
|
|||||||||
|
|||||||||
Re: moving search bar
I think the extra black bar you have there is for printable pages - if you are not going to use printable pages then you can comment it out.
Edit: I have that wrong. Looking into it.
__________________
Doms kube v4.1.9 |
|||||||||
#17
|
|||||||
|
|||||||
Re: moving search bar
i dont see anything about printable pages in the head code...
when I delete instead of comment out the code you and I fixed...it erases that bar yet leaves a empty space.
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#18
|
|||||||||
|
|||||||||
Re: moving search bar
Yup you're right. Sorry mine has printable pages there.
It's a case of getting rid of that great whacking table from... <table cellpadding="0" cellspacing="0" width="100%"> {if $main ne "fast_lane_checkout"} I'm a little uneasy about removing this table as I am not sure if you'll be needing it or not.
__________________
Doms kube v4.1.9 |
|||||||||
#19
|
|||||||
|
|||||||
Re: moving search bar
what exactly does fast lane checkout do? I am setting the site up so the customer login will be a button on the speed bar.
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#20
|
|||||||
|
|||||||
Re: moving search bar
i tried pulling it out...got a error message about an unexpected R, put it back in site back up
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
|
|||
X-Cart forums © 2001-2020
|