【问题标题】:how can I implement free html5 responsive template in DNN9.x?如何在 DNN9.x 中实现免费的 html5 响应式模板?
【发布时间】:2019-04-15 04:11:45
【问题描述】:

我尝试在 DNN9.x 中实现任何 HTML 5 响应式模板,它在 asp.net MVC5 中工作。 我的问题是在 dnn9 中看不到 jquery、bootsrtapor 图像源?他从 dnn 风格中获取风格? 所以如果有任何主题、注释、链接对我有帮助吗?

【问题讨论】:

    标签: html asp.net-mvc-5 dotnetnuke


    【解决方案1】:

    您可能需要调整添加资源的方式。这是我在我的一个开源皮肤中导入的资源示例。

    <dnn:META ID="mobileScale" runat="server" Name="viewport" Content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <dnn:JQUERY ID="dnnjQuery" runat="server" jQueryHoverIntent="true" />
    <dnn:DnnJsInclude ID="bootstrapJS" runat="server" FilePath="js/bootstrap.min.js" PathNameAlias="SkinPath" Priority="10" />
    <dnn:DnnCssInclude ID="bootStrapCSS" runat="server" FilePath="css/bootstrap.min.css" PathNameAlias="SkinPath" Priority="14" />
    <dnn:DnnCssInclude ID="DnnCssInclude1" runat="server" FilePath="css/hhfonts.css" PathNameAlias="SkinPath" Priority="14" />
    

    如需更详细的示例,请查看https://github.com/ChrisHammond/HammerHead/blob/master/Home.ascx

    【讨论】:

    • 你好,克里斯,你能在你的 YouTube 频道上制作一个短视频吗?解释一下,实际上我在你的网站、你的网站和 DNN 社区上关注了你。我喜欢在 DNN9.x 和我在您的 YouTube 频道中观看了所有教程。
    猜你喜欢
    • 2016-11-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-05-17
    • 1970-01-01
    • 1970-01-01
    • 2011-03-04
    相关资源
    最近更新 更多