Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Moving Search box to right side of nav bar - How??Moving Search box to right side of nav bar - How??
Previous
 
Next
New Post
10/7/2008 12:49 PM
 

I've been trying to move the search box from the header field down to be in the horizontal navigation bar . I want it on the right. The problem is that it appears to be having either/or <span> or <div> issues so that it isn't apprearing in the right place. Usually above or below the bar. At one point I had the bar in the field but it was disabled by being there. Anyone got a helpful suggestion for me? Thanks!

 

My search code is:

 <div class="search">
                    <span class="right">
                        <dnn:LANGUAGE runat="server" ID="dnnLANGUAGE" ShowMenu="False" ShowLinks="True" />
                    </span><span class="right sea">
                        <dnn:SEARCH runat="server" ID="dnnSEARCH" Submit="&lt;img src=&quot;spacer.gif&quot; alt=&quot;search&quot;  /&gt;"
                            ShowWeb="false" ShowSite="false" CssClass="searchbutton" />
                    </span>
                    <div class="clear">
                    </div>
                </div>

 

MY menu bar:

 <div id="dnnbanner">
        <div id="dnnbannerbox">
            <div class="menu">
                <dnn:CSSMENU runat="server" ID="dnnCSSMENU" Scope="-1" ShowAdmin="True" IncludeSubMenus="True" HidePageNames="True"
                    ShowPageIcons="True" Orientation="H" Mode="S" MenuId="CSSMENU" />
            </div>
            <div class="layout">
                <dnn:DnnskinLayout runat="server" mode="Both" DefaultLayout="medium" DefaultText="medium" Visible="False" />
            </div>
        </div>
    </div>

 

 
New Post
10/9/2008 10:31 AM
 

Hi there,

You can do a custom search by just including a text box (server control) and a submit button(server control)
Then on the submit button onclick handler you just need to redirect to searchresult.aspx page
By default this page is installed automatically with module searchresult on it.

if you go to www.dnnpages.com you can see that I do a custom search page on the site

Hope this help.

 
New Post
3/25/2009 5:19 AM
 

suwandy wrote

You can do a custom search by just including a text box (server control) and a submit button(server control)
Then on the submit button onclick handler you just need to redirect to searchresult.aspx page
By default this page is installed automatically with module searchresult on it.

Hi Andy

I am quite curious how this is done in the .ascx skin file, as I've not been able to do it myself and aren't entirely sure how the server controls work with something like this.

Would you mind posting the code you use in the skin file?

Thanks

David

 
New Post
3/27/2009 10:28 AM
 

Hi

Try this code:

<div id="dnnbanner">
        <div id="dnnbannerbox">
           <div >

             <div class="menu" style="float:left; width:500px;">
                <dnn:CSSMENU runat="server" ID="dnnCSSMENU" Scope="-1" ShowAdmin="True" IncludeSubMenus="True" HidePageNames="True"
                    ShowPageIcons="True" Orientation="H" Mode="S" MenuId="CSSMENU" />
            </div>
            <div class="right sea" style="float:right;">
                        <dnn:SEARCH runat="server" ID="dnnSEARCH" Submit="&lt;img src=&quot;spacer.gif&quot; alt=&quot;search&quot;  /&gt;"
                            ShowWeb="false" ShowSite="false" CssClass="searchbutton" />
               </div>
            </div>
            <div class="clear"></div>
            <div class="layout">
                <dnn:DnnskinLayout runat="server" mode="Both" DefaultLayout="medium" DefaultText="medium" Visible="False" />
            </div>
        </div>
    </div>

and setting width yourself.

 


Our website: dnngo.net
E-mail account: dnnskindev@gmail.com
Skype: dnngo-linda
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Moving Search box to right side of nav bar - How??Moving Search box to right side of nav bar - How??


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out