• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

dmcbrier
#1 Posted : Wednesday, January 26, 2011 10:56:19 PM(UTC)
dmcbrier

Rank: Member

Joined: 8/25/2007(UTC)
Posts: 124

We are on to something bigger and better.

We are trying to build the search into our site header. Does anyone have a Custom Control and CSS that they would like to share? I am sure there are lots of others who could benefit from this.

I have found a few posts, but nothing really defines how to build the search into the header. We are just trying to make it easier for our customers to find the items we sell. The column search is n via a nifty custom control, but we really would like this in the header of the site - front and center.

Here is the only post that sheds some light on the subject that I have found.

http://forums.dotnetbb.com/defa...8&g=55669#m55669

Would someone share their control files and css files that are relevant to the control. I would be grateful forever.

Thank you development teams and developers... David

Edited by user Tuesday, February 5, 2013 8:58:35 AM(UTC)  | Reason: Not specified

Marcus
#2 Posted : Thursday, January 27, 2011 8:40:49 AM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

Search in the header is a standard feature in the 6.0 version. You can take a look at that as an example.
Aaron
#3 Posted : Thursday, January 27, 2011 9:02:00 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
David,

Just follow the instructions at the link below which walks you through how to create a Content Column and add it to your header. Once that's done you can drop any Content Block (such as the Search Box) into it.

http://www.bvcommerce.com/forum...der-Search.aspx#post7343

Edited by user Tuesday, February 5, 2013 9:07:55 AM(UTC)  | Reason: Not specified

Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
dmcbrier
#4 Posted : Friday, January 28, 2011 12:29:37 AM(UTC)
dmcbrier

Rank: Member

Joined: 8/25/2007(UTC)
Posts: 124

Thank you. Here is what I have so far.

1. I have duplicated the Column Search Control and renamed it to Search Header BHS.ascx (BVModule/Control)

2. I then added the following to Header.ascx
<%@ Register Src="~/BVModules/Controls/Search Header BHS.ascx" TagName="Search" TagPrefix="uc5" %>

3. Then I have added the following to the header.ascx

<div id="header">
<uc5:Search ID="Search" runat="server" />

Now here is the issue...
The control is still thought to be at the top of the page, so the whole page is shifted down (the height of the control)

You can see the issue on our live site www.hardwarechimp.com

How can I get the control to be in the header, but also keep the image from shifting downward. The web browser still thinks the object is at the top of the page... Which I guess it might be. I have tricked it to say move it with Position: realtive





Ideally I would like to use postion relative... but from the looks of things I need to use position absolute.



Is their and easier way to float this control to the right area of the image?



Any CSS experts out there?




Here is the control

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Search Header BHS.ascx.vb" Inherits="BVModules_Controls_Search" %>
<div style="position: relative; z-index: 1; top: 195px; left: 327px; width: 234px;" class="searchboxform">
<asp:Panel runat="server" DefaultButton="btnSearch" ID="pnlSearchBox">
<span class="searchspan">
<asp:Label ID="lblTitle" runat="server" Text="Search" AssociatedControlID="KeywordField"></asp:Label>
<asp:TextBox ID="KeywordField" Columns="15" runat="server" CssClass="forminput"></asp:TextBox>
<asp:ImageButton CausesValidation="false" CssClass="searchbutton" ID="btnSearch" runat="server" ImageUrl="~/BVAdmin/images/buttons/go.png" />
</span>
</asp:Panel>


</div>
Thoughts?

I feel like I am making some progress, but I also know I am missing a critical part.
dmcbrier
#5 Posted : Friday, January 28, 2011 2:21:48 AM(UTC)
dmcbrier

Rank: Member

Joined: 8/25/2007(UTC)
Posts: 124

http://www.mindwiremedia...vs-relative-positioning/

I think this is what I am looking for.

Relative with Absolute (vodka that is)
dmcbrier
#6 Posted : Friday, January 28, 2011 2:30:53 AM(UTC)
dmcbrier

Rank: Member

Joined: 8/25/2007(UTC)
Posts: 124

That fixed it... Found my answer.
dan @ HYAS
#7 Posted : Monday, February 4, 2013 10:17:31 PM(UTC)
dan @ HYAS

Rank: Member

Joined: 1/28/2013(UTC)
Posts: 77
United States
Location: Midlothian, TX

Originally Posted by: asherrick Go to Quoted Post
David,

Just follow the instructions at the link below which walks you through how to create a Content Column and add it to your header. Once that's done you can drop any Content Block (such as the Search Box) into it.

http://forums.bvcommerce.com/de...?f=91&m=64862#m65243


Aaron:

I'm trying to accomplish this. Unfortunatly the link you have is posted here from old post is not a good link.

Do you happen to know what the new link or post would be?

Thanks
Dan
Aaron
#8 Posted : Tuesday, February 5, 2013 9:10:35 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Sorry about that, Dan. The forum links is the only issue we didn't address when migrating to the new forum. I actually think that we could fix this given some time. Anyway, I updated the link in my original post so you should be good to go now.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
dan @ HYAS
#9 Posted : Tuesday, February 5, 2013 1:15:59 PM(UTC)
dan @ HYAS

Rank: Member

Joined: 1/28/2013(UTC)
Posts: 77
United States
Location: Midlothian, TX

Thanks Aaron
foroduolin
#10 Posted : Wednesday, February 27, 2013 10:53:58 PM(UTC)
Rank: Guest


Message was deleted by a Moderator. | Reason: Not specified
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012