Add new columns to producer and product language tables
- Added 'data' column to 'pp_shop_producer_lang' table for additional metadata storage. - Added 'security_information' column to 'pp_shop_products_langs' table to enhance product security details.
This commit is contained in:
@@ -70,8 +70,20 @@ ob_start();
|
||||
'value' => $this -> producer['languages'][$lg[ 'id']]['description'],
|
||||
'inline' => true
|
||||
] );?>
|
||||
<?= \Html::textarea( [
|
||||
'label' => 'Dane producenta',
|
||||
'name' => 'data[' . $lg['id'] . ']',
|
||||
'id' => 'data_' . $lg['id'],
|
||||
'value' => $this -> producer['languages'][$lg[ 'id']]['data'],
|
||||
'inline' => true
|
||||
] );?>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$( '#data_<?= $lg[ 'id' ];?>').ckeditor({
|
||||
toolbar: 'MyToolbar',
|
||||
height: '250'
|
||||
});
|
||||
|
||||
$( '#description_<?= $lg[ 'id' ];?>').ckeditor({
|
||||
toolbar: 'MyToolbar',
|
||||
height: '250'
|
||||
|
||||
Reference in New Issue
Block a user