首先在数据库 v9_category 添加字段
然后在 phpcms\modules\admin\templates 目录找到category_add.tpl.php和category_edit.tpl.php然后在里面添加代码: <tr>
<th><?php echo L('自定义字段名')?>:</th>
<td><input type="text" name="info[自定义字段名]" id="自定义字段名" class="input-text" value=""></td>
</tr>
注意:(字段名与数据库添加的字段同步)
苗景云的博客
<< 向左走,向右走 >>
<< 向左走,向右走 >>
