在modules/content/templates/content_add.tpl.php模闆中的foreach($forminfos['base'] as $field=>$info) {}外面添加新的字段,注意name為字段名,同時在資料庫的v9_news_data添加新的字段和testfield一緻.
<th width="80">測試字段</th>
<td><input type='text' name='info[testfield]' id='testfield' value='' style='50' > 測試字段先在資料庫添加字段</td>