标签:style blog http io ar color os sp on
dede5.7问答模块的游客提问 管理员回答
http://blog.sina.com.cn/s/blog_6cafc89a0101hg5t.html
-------------------------------
http://www.bbfy-bio.com/ask/index.php
这里通过
index.php中修改
function ac_index(){}获取消化系统等栏目的数据 再循环显示即可
-----------------------------------
http://localhost/zend/dede1/ask/?ct=question&ac=ask_complete&title=ddddddafd
提交到
http://localhost/zend/dede1/ask/?ct=question&ac=ask_save
ask-->Control--->question.php -->ac_ask_save(){}修改
questioin.php 修改这里实现游客提交问题
function question() { parent::__construct(); global $cfg_ml,$cfg_ask_guestview,$cfg_ask_guestask; $this->cfg_ml = $cfg_ml; if($cfg_ask_guestview == ‘N‘ && empty($this->cfg_ml->M_ID)) { ShowMsg(‘您尚未登录,请先登录‘,$GLOBALS[‘cfg_ask_member‘]); exit; }
标签:style blog http io ar color os sp on
原文地址:http://www.cnblogs.com/zff193/p/4125549.html