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, ...How to remove the search box dropdownHow to remove the search box dropdown
Previous
 
Next
New Post
11/23/2012 11:09 AM
 

I'm running DNN 6.2.2 and using the default skin. I am wanting to find a simple, step by step instruction on how to just remove the 16x16 favicons and drop down button from the search box. Possibly extend the search text field longer to compensate for the space where the icon and drop down button were. Everything else with regards to the search box will stay the same.

I have searched the web and these forums, however I can't seem to find simple instructions.

Search Mod Example


Chris Haas
DNN Creative Services
& Deployment Consultant

http://www.mrchrishaas.com
 
New Post
11/23/2012 6:59 PM
 

I could spend hours figuring this out on my own, but somebody has had to have done this before.

Can anybody point me to a post that can get me started?

Thanks!

Chris


Chris Haas
DNN Creative Services
& Deployment Consultant

http://www.mrchrishaas.com
 
New Post
11/24/2012 6:26 AM
 
This is not something that's simple to explain. <br />
You would have to understand DNN skinning to be really know what you're doing and it's not something you can change from the administrative interface.
 

BTW, you should not make changes to the default skin as it could get overwritten on updates and you would loose your changes.
Copy the skin folder and work with that (Copy the \Portals\_default\Skins\DarkKnight folder).


The files you would have to edit are the ascx files in there.
You would have to change this line in every ASCX file:

<dnn:SEARCH ID="dnnSearch" runat="server" UseDropDownList="true" EnableTheming="true" Submit="Search" />

And replace it with:

<div class="SearchContainer">
<div class="SearchBorder">
<dnn:SEARCH ID="dnnSearch" runat="server" ShowWeb="False" ShowSite="False" UseDropDownList="False" EnableTheming="true" Submit="Search" />
</div>
</div>


Now you have to edit the skin.css file, to do some additional styling.

Look around #Header .SearchContainer{}
But you need some CSS knowledge for that..
 
New Post
11/24/2012 9:08 AM
 

Thank for the reply. I was hoping it was just a attribute I was missing like "ShowWeb="False". Similar to the older way of getting rid of those radio buttons.  

I'll have to dive into the skin.

Thanks!

Chris

PS, mention to somebody over there that this type of site/web search option really doesn't make sense any more. People know how to search the web and use their own method, plus most people just use their browsers.  I get it, back in the day this was "Cool" and something to add value to DNN, but the times have changed and I'm always getting request to remove it.  Thanks for listening! 


Chris Haas
DNN Creative Services
& Deployment Consultant

http://www.mrchrishaas.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to remove the search box dropdownHow to remove the search box dropdown


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