
phpcms若何增加文章?
phpcms增加文章的办法:
起首,正在治理字段:relation 相干文章这里,能够看到上面这段代码:
《input type='hidden' name='info[relation]' id='relation' value='{FIELD_VALUE}' style='50' > <ul id=”relation_text”></ul> <div> 《input type='button' value="增加相干" onclick="omnipotent('selectid','?m=content&c=content&a=public_relationlist&modelid={MODELID}','增加相干文章',1)" style="width:66px;"> <span> 《input type='button' value="显示已有" onclick="show_relation({MODELID},{ID})" style="width:66px;"> </span> </div>
*注:请交换下面的代码中《为<。
而后把它复制上去,正在新建模子中增加一个新字段relation,把下面代码复制到字段设置的“相干参数-表单”哪里,代码外面的“ &modelid=1 ”这个的意义是以及文章模子相干联,=号前面的值是依据模子的id值来的,最初把它换成你所要联系关系的模子的id值就好了。
保举教程:《phpcms》
以上就是phpcms若何增加文章?的具体内容,更多请存眷资源魔其它相干文章!
标签: phpcms phpcms教程 phpcms技巧 php问题解决
版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。
抱歉,评论功能暂时关闭!