Hi i created a virtuemart category field:
frontent read this data from DB correcty
But how I must config administrator?
Quote1.
#_virtuemart_categories_en_gb
I created column category_description_2 in MYSQL
Quote2.
In: /administrator/components/com_virtuemart/views/category/tmpl/edit_categoryform.php
I add this: <?php echo VmHTML::row('editor','COM_VIRTUEMART_DESCRIPTION_2','category_description_2',$this->category->category_description_2); ?>
But where I must go if i need select this data from DB and put it to this field in admin?
Which files? Thank you for answer.
I have it ;-) If somebody need this solution there is:
You must go to: /administrator/components/com_virtuemart/tables/categories.php
in: class TableCategories extends VmTable {
add this line somewhere
var $category_description_2 = '';
AND:
$this->setTranslatable(array('category_name','category_description','metadesc','metakey','customtitle'));
replace:
$this->setTranslatable(array('category_name','category_description','metadesc','metakey','customtitle','category_description_2'));
relaxed multilanguage system, eh? :-)