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...Administration ...Administration ...Search Bar Top of every pageSearch Bar Top of every page
Previous
 
Next
New Post
4/18/2007 11:00 AM
 

Hi Everyone,

 

Quick Question, I am using DNN 3.3.7 and on all my pages (tabs) I have a search bar at the very top.  How Do I remove this?  I can't seem to find a setting for it.

I couldn't insert the picture.

-Preston 

 

 
New Post
4/18/2007 11:43 AM
 

Preston:

The search box is controlled with a skin object or token, it is not controlled by a setting you can find as admin.  You need to remove the [SEARCH] token from your skin.html file or even better the <dnn:Search runat="server" id="dnnSearch"> from the skin.ascx file.  

If you have questions about DNN skinning read the skinning document included in the documentation package.

Please provide more details about the problem inserting the picture you mentioned.

Carlos

 

 
New Post
4/26/2007 8:54 PM
 

Any Idea where I might find that file?  The developer before me created the skin, I am just using it.  Any help is appreciated.

Thank You,
-Preston

 
New Post
4/27/2007 9:16 AM
 

I cannot tell you exactly what file it is because it varies depending on how your portal and its skin were setup. But in general, first, determine if your site is running on the default portal (hopefully not) or if it is a separate portal. This will determine which directory you need to look into for the file in question. If it is a separate portal, go to the root of your DNN install, you will see a directory called “Portals”. Under it, you should see at least the directories "_default" and "0". If you have a separate portal, or multiple of them actually, there will be other directories named with just a number, their skins will be under a directory called "Skins", but I cannot tell you which one your portal is going to be. If there is only one portal created in addition to the default, then its directory name should be "1". Now, under the Skins directory you will have one directory for each skin created and installed for the site, it may be just one there. Do you know the name of the skin you are using??? The directory you are looking for has the name of the skin and usually, the file you are looking for has the name of the skin with the ASCX extension. When you remove the token I mentioned before and save the file, the change will take effect right away. 

Edited to add:  Depending on how your skin was created, via an HTML file or directly with an ASCX file, you may also want to make the same change in the HTML file if you have one.  Again, you may or may not have this file, it would be the same name as the skin and the ASCX but with the HTML (or HTM) extension.  In the HTML file you would want to remove the [SEARCH] token.  What happens is that the HTML file is processed and the file ASCX is created from it.  If you don't make the change in the HTML file and it is reprocessed the Search box may reappear later in the future.

As usual it is recommended that you make a full backup of the DNN directory before making any changes just to be safe. 

Again, when in doubt, refer to the skinning documentation, all the stuff above is explained there.

Carlos

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Search Bar Top of every pageSearch Bar Top of every page


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