当我插入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" />
答案 0 :(得分:0)
根据文档更改脚本的顺序。
首先是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" />