迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發框架,基于MIT開源許可協議發布,免費且不限制商業使用,是免費開源的產品,以萬端互聯為設計理念,支持的微信公眾號、小程序、APP客戶端、移動端網站、PC網站等多終端式管理系統。
聯系官方銷售客服
1835022288
028-61286886
為什么后臺設置了留言提交成功跳轉的URL鏈接,跳轉的還是默認的留言模板,沒有跳到指定鏈接去呢???
關鍵在于你提交按鈕的代碼寫法,發來看看
回復@迅睿框架技術-李波
<!--在線留言 開始--> <!-- 系統關鍵js(所有自建模板必須引用) --> <script type="text/javascript">var is_mobile_cms = '{IS_MOBILE}';</script> <script src="{LANG_PATH}lang.js" type="text/javascript"></script> <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script> <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script> <!-- 系統關鍵js結束 --> <section class="wzlydb"> <div class="dblxwb">在線留言<i></i></div> <form action="" enctype="multipart/form-data" method="post" name="myform" id="myform"> <input name="is_form" type="hidden" value="1"> <input name="is_admin" type="hidden" value="0"> <input name="is_tips" type="hidden" value=""> <input name="csrf_test_name" type="hidden" value="b1c042df3dc3078eae807334103064e5"> <table style="width:97%;" cellpadding="0" cellspacing="1"> <tr> <td align="right" valign="top">姓名:</td> <td><input class="form-control " type="text" name="data[author]" id="dr_author" value="" style="width:200px;padding: 0 0 0 10px;"> </td> </tr> <tr> <td align="right" valign="top">電話:</td> <td><input class="form-control " type="text" name="data[dianhua]" id="dr_dianhua" value="" style="width:200px;padding: 0 0 0 10px;"> </td> </tr> <tr> <td align="right" valign="top">留言:</td> <td><textarea class="form-control" style="height:100px; width:300px;padding: 10px 0 0 10px;" name="data[title]" id="dr_title"></textarea> </td> </tr> </table> <div align='center' style='height:30px;padding-top:10px;'> <button type="button" onclick="dr_ajax_submit('http://域名/index.php?s=form&c=yonghuliuyan&m=post', 'myform', '2000', 'http://域名/index.php?s=form&c=yonghuliuyan&m=post')">提交內容</button> </div> </form> </section> <!--在線留言 結束-->
關鍵在于你提交按鈕的代碼寫法,發來看看
回復@迅睿框架技術-李波