下面的设置在Skin White Papper 里无法查到,没有时间翻译,记下来仅供参考。
In DotNetNuke 4.5.3 installation, the SearchSkin 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, butit will create some problems on the SKINs. It will show an option boxof "Web", and an option box of "Site", some of our skins (and a lot offrom other vendors) which does not reserve enough place for display thetwo extra Options, will actually not display right.
Now the solutions:
- 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. - 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. .
< >
<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>
</ >
Add the SKIN. back to SKINS.ZIP
Add the SKINS.ZIP back to Skin PA file.
Upload your skin and go. - If your bought our skin, email us, we will fix it for free.
- 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.
继续阅读与本文标签相同的文章
-
Spring Boot 2.x (一):第一个 Web 应用 Hello Spring Boot 2
2026-05-25栏目: 教程
-
重温 ES6 Symbol
2026-05-25栏目: 教程
-
初识数据库
2026-05-25栏目: 教程
-
.Net程序员必备-打印版Visual C#(VB) 2008 快捷键索引
2026-05-25栏目: 教程
-
在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的解决办法
2026-05-25栏目: 教程
