Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  is it possible to remove the Search Box
Previous Previous
 
Next Next
New Post 5/16/2008 2:23 AM
User is offline FAIR TRADE Football (we want fairness 4 fans)
106 posts
www.fairness4fans.co.uk
9th Ranked


is it possible to remove the Search Box 

is it possible to remove the Search Box from the home page - when a user is not logged in?

I don't mind the search box being there when users are logged in, but if they are not logged in - I would like to remove it. 
Or, as a work around - perhaps use a blank page for the log in screen would be a better option?

regards,

mark richardson

 
New Post 5/16/2008 3:21 AM
User is offline Paul Deschenes
102 posts
9th Ranked


Re: is it possible to remove the Search Box 

Yes, you have to edit the skin ASCX file. I your scenario above do this:

Find you skin file, say it's called skin1.ascx. copy it and name it skin2.ascx

Assuming you have applied skin1 as you skin for the entire site, On your login page go to page settings and set the page skin to skin2.ascx

Now open skin1.ascx in visual studio, html editor or text editor. Locate the tag that says <dnn:search ........ />. Just remove, save and you're done. That may mess up the look and feel of your page so you may have to play around with the layout to get it right.

 
New Post 5/19/2008 9:27 AM
User is offline FAIR TRADE Football (we want fairness 4 fans)
106 posts
www.fairness4fans.co.uk
9th Ranked


Re: is it possible to remove the Search Box 

Thanks,

I am not sure which .ascx skin file it is.

I have located a list of skins here: >> \admin\Skins\ and edited Search.ascx, but this did not a make a difference.

is there a way to detect which skin file is being used by the  home page please?

regards,

mark

 
New Post 5/19/2008 1:19 PM
User is offline Jeff Cochran
1391 posts
6th Ranked


Re: is it possible to remove the Search Box 

It's whatever skin you have assigned to it.  Open the page properties, Appearance and look at the skin.  You will find the skins at /portals/_default/skins/{SkinName}/{Skin}.ascx.  The /_default/ portal might be a portal number if the skin is installed for only a specific portal.

You want to remove the Search object, a line that will look something like:

<dnn:SEARCH runat="server" id="dnnSEARCH" .....

Keep in mind that you may need to insert something to have the skin format ocrrectly, or adjust the skin layout.

Jeff

 

 
New Post 8/29/2008 1:36 PM
User is offline Joanie Shell
33 posts
10th Ranked


Re: is it possible to remove the Search Box 

I need some help with this too. I know what skin I have but I cant follow your instructions about how to get into the properties so I can delete the line about the search box. Would someone mind writing very specifically how to get in to edit a skin. Starting from where? I only use DNN about every 6 months so I am a little rusty in navigating my way around. Thanks in advance! joanie

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  is it possible to remove the Search Box
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP