How to remove the "Web" and "Site" option buttons in search skin ojbect

Source: Internet
Author: User
Tags dnn
The following settings cannot be found in skin white papper, and there is no time translation. Remember them for reference only.

In dotnetnuke 4.5.3 installation, the search
Skin object is changed. You will find the option to search the "Web ",
Which is default to use Google to search. Or the option to seach
"Site", which is the same as previous site search.

It is a very good features which was lacking from previous dnn,
It will create some problems on the skins. It will show an option box
Of "Web", and an option box of "Site", some of our skins (and a lot
From other vendors) which does not reserve enough place for display
Two extra options, will actually not display right.

Now the solutions:

  1. If you have access to your dnn installations, Open File/Portals/[p #]/[skinnname]/[htmlname]. ascx
    <Dnn: Search runat = "server" id = "dnnsearch" cssclass = "topcss"Showweb = "false" showsite = "false"/>
    Add the red text in there, save it, your skin shocould work again.
  2. If
    You want to fix the skin PA package, extract your skin pa zip files
    Into a folder, you will see skins.zip and containers.zip, extract
    Skins.zip to the same folder, and add the following code into
    Skin. xml.
    <Object>
    <Token> [Search] </token>
    <Settings>
    <Setting>
    <Name> cssclass </Name>
    <Value> topcss </value>
    </Setting>
    <Setting>
    <Name> showweb </Name>
    <Value> false </value>
    </Setting>
    <Setting>
    <Name> showsite </Name>
    <Value> false </value>
    </Setting>
    </Settings>
    </Object>
    Add the skin. xml back to skins. Zip
    Add the skins. zip back to skin PA file.
    Upload your skin and go.
  3. If your bought our skin, email us, we will fix it for free.
  4. We
    Also offer very low customization service, if you do need Add
    Search site and search Web function to your skin (even you do not buy
    From us), we can customize for you for a very low price. hydes004 at alldnnskins. com services.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.