给织梦DedeCMS栏目添加字段,栏目自定义字段教程
38行
$upquery = “Update `dede_arctype` set
issend=’$issend’,
sortrank=’$sortrank’,
typename=’$typename’,
typedir=’$typedir’,
isdefault=’$isdefault’,
defaultname=’$defaultname’,
issend=’$issend’,
ishidden=’$ishidden’,
channeltype=’$channeltype’,
tempindex=’$tempindex’,
templist=’$templist’,
temparticle=’$temparticle’,
namerule=’$namerule’,
namerule2=’$namerule2′,
ispart=’$ispart’,
corank=’$corank’,
description=’$description’,
keywords=’$keywords’,
moresite=’$moresite’,
`cross`=’$cross’,
`content`=’$content’,
`crossid`=’$crossid’,
`smalltypes`=’$smalltypes’
$uptopsql
where id=’$id’ “;
sql语句里面添加我们刚才的 字段进去。也就是下面这个代码
$upquery = “Update `dede_arctype` set
issend=’$issend’,
sortrank=’$sortrank’,
typename=’$typename’,
typedir=’$typedir’,
isdefault=’$isdefault’,
defaultname=’$defaultname’,
issend=’$issend’,
ishidden=’$ishidden’,
channeltype=’$channeltype’,
tempindex=’$tempindex’,
templist=’$templist’,
temparticle=’$temparticle’,
namerule=’$namerule’,
namerule2=’$namerule2′,
ispart=’$ispart’,
corank=’$corank’,
description=’$description’,
keywords=’$keywords’,
moresite=’$moresite’,
`cross`=’$cross’,
`content`=’$content’,
`crossid`=’$crossid’,
`smalltypes`=’$smalltypes’,
`lanmukeywrod`=’$lanmukeywrod’
$uptopsql
where id=’$id’ “;
看到了 这个是添加的:`lanmukeywrod`=’$lanmukeywrod’
☉本站提供的源码、模板、软件工具等其他资源,都不包含技术服务,请大家谅解!
pbootcms模板网 » 给织梦DedeCMS栏目添加字段,栏目自定义字段教程