如何去除Search Skin ojbect中的"web"和"site"选项按键

简介: 下面的设置在Skin White Papper 里无法查到,没有时间翻译,记下来仅供参考。 In DotNetNuke 4.5.3 installation, the Search Skin Object is changed.
下面的设置在Skin White Papper 里无法查到,没有时间翻译,记下来仅供参考。

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 the "Site", which is the same as previous site search.

It is a very good features which was lacking from previous DNN, but 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 of from other vendors) which does not reserve enough place for display the 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 should 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 the 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 the 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.

相关文章
|
存储 SQL 运维
让owncloud hosting static web site
本文关键字:在owncloud存储中做站,owncloud static website hosting, hosting website in owncloud,owncloud www service,mailinabox static website hosting强化,netdisk netstorage based blog system,netdisk based static website hosting and syncing
325 0
让owncloud hosting static web site
Lotus Domino Web Administrator – Cross Site Command Execution
Description Lotus Domino is vulnerable to CSRF attack which can de used for OS command execution in webadmin.
878 0
|
SQL JavaScript 安全
【常见Web应用安全问题】---1、Cross Site Scripting
 Web应用程序的安全性问题依其存在的形势划分,种类繁多,这里不准备介绍所有的,只介绍常见的一些。  常见Web应用安全问题安全性问题的列表:   1、跨站脚本攻击(CSS or XSS, Cross Site Scripting)   2、SQL注入攻击(SQL inje...
1114 0
|
机器学习/深度学习
如何去除Search Skin ojbect中的"web"和"site"选项按键
下面的设置在Skin White Papper 里无法查到,没有时间翻译,记下来仅供参考。 In DotNetNuke 4.5.3 installation, the Search Skin Object is changed.
825 0
|
3月前
|
XML JSON API
ServiceStack:不仅仅是一个高性能Web API和微服务框架,更是一站式解决方案——深入解析其多协议支持及简便开发流程,带您体验前所未有的.NET开发效率革命
【10月更文挑战第9天】ServiceStack 是一个高性能的 Web API 和微服务框架,支持 JSON、XML、CSV 等多种数据格式。它简化了 .NET 应用的开发流程,提供了直观的 RESTful 服务构建方式。ServiceStack 支持高并发请求和复杂业务逻辑,安装简单,通过 NuGet 包管理器即可快速集成。示例代码展示了如何创建一个返回当前日期的简单服务,包括定义请求和响应 DTO、实现服务逻辑、配置路由和宿主。ServiceStack 还支持 WebSocket、SignalR 等实时通信协议,具备自动验证、自动过滤器等丰富功能,适合快速搭建高性能、可扩展的服务端应用。
180 3