我在 DNN 7 中插入调度程序时出现一些错误。因此,我无法使用调度程序来设置我想做的事情。
有人可以告诉我哪个步骤失败了,插件无法使用。
我只是使用此代码来包含 js 文件和 css 文件。
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/fullcalendar.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/jquery.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/jquery-ui.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/moment.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/scheduler.min.js" />
<dnn:DnnCssInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/fullcalendar.min.css" />
<dnn:DnnCssInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/fullcalendar.print.css" />
<dnn:DnnCssInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/scheduler.min.css" />
根据文档更改脚本的顺序。
首先是jquery,然后是moment.js,然后是fullcalendar,然后是调度程序。Jquery-UI 应该在 jquery 本身之后。
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/jquery.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/jquery-ui.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/moment.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/lib/fullcalendar.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="/Plug-in/fullcalendar-scheduler-1.3.2/scheduler.min.js" />