织梦自界说表单怎样制造正在线定单?
织梦自界说表单制造正在线定单具体讲解
保举学习:织梦cms
第一步起首你要晓得自界说表单的后盾界面正在那里截图
第二步增加自界说表单
我抉择齐全地下就是说访客提交的时分他们也是能够看到咱们的自界说信息的 数据表 模板依据你的模板自界说便可
咱们先look下
上面就是自界说的内容了
我随意举例给各人演示下 起首前往界面
点击红圈来增加咱们的自界说表单
增加自界说字段
我增加了三个自界说字段辨别是
上面预览下咱们的成果
留意你增加的时分依据你的需求抉择 对应的 数据类型便可
这样自界说就根本实现了上面就是用代码间接搁置到你的对应模板
这里给各人一个技术 普通自界说的用你的单页面模板修正便可
我的例子代码是:
<form action="/plus/diy.php" enctype="multipart/form-data" method="post"> <input type="hidden" name="action" value="post" /> <input type="hidden" name="diyid" value="1" /> <input type="hidden" name="do" value="2" /> <table style="width:97%;" cellpadding="0" cellspacing="1"> <tr> <td align="right" valign="top">雇用:</td> <td><input type='text' name='zhaopin' id='zhaopin' style='width:250px' class='intxt' value='' /> </td> </tr> <tr> <td align="right" valign="top">雇用头像:</td> <td><input type='file' name='touxiang' id='touxiang' style='width:300px;height:22px;line-height:22px' /> </td> </tr> <tr> <td align="right" valign="top">阅历:</td> <td><textarea name="yueli" rows="8" cols="60"></textarea> <script type="text/javascript">//<![CDATA[ window.CKEDITOR_BASEPATH='/include/ckeditor/'; //]]></script> <script type="text/javascript" src="/include/ckeditor/ckeditor.js?t=B8DJ5M3"></script> <script type="text/javascript">//<![CDATA[ CKEDITOR.replace('yueli', {"extraPlugins":"dedepage,multipic,addon","toolbar":[["Source","-"],["Cut","Copy","Paste","PasteText","PasteFromWord","-","Print"],["Undo","Redo","-","Find","Replace","-","SelectAll","RemoveFormat"],["Bold","Italic","Underline","Strike","-"],["Table","HorizontalRule"],["Link","Unlink","Image","Anchor"],["Styles","Format","Font","FontSize"],["TextColor","BGColor"]],"height":350,"skin":"kama"}); //]]></script> </td> </tr> <input type="hidden" name="dede_fields" value="zhaopin,text;touxiang,img;yueli,htmltext" /> <input type="hidden" name="dede_fieldshash" value="b4e15b5fd31e75fbe8712b4bf0dd7155" /></table> <div align='center' style='height:30px;padding-top:10px;'> <input type="submit" name="submit" value="提 交" class='coolbg' /> <input type="reset" name="reset" value="重 置" class='coolbg' /> </div> </form>
标签: 织梦教程 织梦技巧 dedecms教程 dede问题解决 织梦
版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。