6738437 发表于 2010-8-30 20:43:46

DEDE5.6新增自定义字段模块..

看了 http://bbs.locoy.com/viewthread.php?tid=25332&highlight=dede%2B%D7%D4%B6%A8%D2%E5

这个贴子可这是5.1的系统.现在是5.6了.
都成了-----------------------------7dlocoyspider
Content-Disposition: form-data; name="title"

[标签:标题]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="shorttitle"


-----------------------------7dlocoyspider
Content-Disposition: form-data; name="flags[]"


-----------------------------7dlocoyspider
Content-Disposition: form-data; name="tags"

[标签:关键字]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="picname"

[标签:缩略图]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="ddisremote"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="source"

[标签:出处]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="writer"

[标签:作者]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="typeid"

[分类ID]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="remote"

1
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="dellink"

1
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="autolitpic"

1
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="sptype"

hand
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="spsize"

5
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="body"

[标签:内容]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="notpost"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="sortup"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="color"


-----------------------------7dlocoyspider
Content-Disposition: form-data; name="arcrank"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="ishtml"

1
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="pubdate"

[系统时间戳]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="money"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="keywords"

[标签:关键字]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="autokey"

1
-----------------------------7da1863030280
Content-Disposition: form-data; name="music_url"

[标签:下载地址]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="description"


-----------------------------7dlocoyspider
Content-Disposition: form-data; name="filename"


-----------------------------7dlocoyspider
Content-Disposition: form-data; name="channelid"

1
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="dopost";

save
-----------------------------7dlocoyspider
&dede_addonarticle=music_url%2Ctext%3B这样的东东了.不知道怎么写自定义字段模块了啊...
那个高手教下..
我加了这个&dede_addonarticle=music_url%2Ctext%3B 可是还是没内容.

6738437 发表于 2010-8-30 21:14:33

自定义字段添加方法
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="dede_addonfields"

mianji,text;jiage,text;leixing,select;diqu,select;ren,text;dianhua,text;dizhi,text;shouji,text[在此添加新的字段名]

且要添加新的字段参数和值

-----------------------------7dlocoyspider
Content-Disposition: form-data; name="字段参数"

值Content-Disposition: form-data; name="dede_addonfields"   我是在普通文章里直接加的字段.是不是要改成name="dede_addonarticle"

zhangxiang 发表于 2010-8-31 13:01:19

&dede_addonfields=music_url%2Ctext%3B

江湖小子 发表于 2010-8-31 15:18:29

2 楼正解。。。。。

harry1026 发表于 2010-9-15 12:51:11

还是不行 咋搞的呢 唉

sweay 发表于 2010-9-16 13:39:35

帮顶个 同样求解{:4_189:}
页: [1]
查看完整版本: DEDE5.6新增自定义字段模块..