0
我正巧編輯Joomla 2.5網站。我很喜歡它。你能告訴我,我應該怎麼做添加自定義字段?Joomla,如何將自定義字段添加到Virtuemart類別表單中?
我在DB的'virtuemart_categories_ru_ru'表中添加了新的varchar字段。
我已經在categories.php增加了新的變種:
var $cat_h1 = '';
和
我已經加入這一領域edit_categoryform.php這樣的:
<?php echo VmHTML::row('input','cat_h1','cat_h1',$this->category->cat_h1); ?>
,但我不能從數據庫獲得'cat_h1'與
$ this - > category-> cat_h1
無法從CMS進行編輯。
我該怎麼做更多?