联系官方销售客服
1835022288
028-61286886
各位老师,在插件开发中利用开发者工具生成Ftable控件代码从后台存储配置信息(存储到.cache文件中),格式为
{"peizhixinxi":"","xzlb":{"1":{"1":"192.168.1.1"},"2":{"1":"192.168.1.2"},"3":{"1":"192.168.1.3"}}}
后台控件界面如下
我想问点击保存存储完以后怎样将保存的信息显示在这个Ftable上?
Views/test.html中使用的代码如下:
<?php echo dr_fieldform('{"name":"限制列表","fieldname":"xzlb","ismain":"1","fieldtype":"Ftable","setting":{"option":{"is_add":"1","is_first_hang":"0","count":"","first_cname":"","hang":{"1":{"name":""},"2":{"name":""},"3":{"name":""},"4":{"name":""},"5":{"name":""}},"field":{"1":{"type":"1","name":"列表","width":"250","option":""},"2":{"type":"0","name":"","width":"","option":""},"3":{"type":"0","name":"","width":"","option":""},"4":{"type":"0","name":"","width":"","option":""},"5":{"type":"0","name":"","width":"","option":""},"6":{"type":"0","name":"","width":"","option":""},"7":{"type":"0","name":"","width":"","option":""},"8":{"type":"0","name":"","width":"","option":""},"9":{"type":"0","name":"","width":"","option":""},"10":{"type":"0","name":"","width":"","option":""}},"attachment":"0","image_reduce":"","width":"350","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}},"ismember":"1"}', $xzlb, 1, 1);?>
像这种把信息保存以后显示在相应的位置上,我这现在保存以后控件就变成默认的