Bakery - How can I create multiple 'Free definable Fields' in Bakery?

gicasso

Quote from: gicasso on August 23, 2014, 08:10:52 PM
How can I create multiple 'Free definable Fields' in Bakery?
Currently there is only the possibility of 3 fields, but I would like to have 12 fields

CMS Version 2.8.3 SP1
Bakery: 1.70

I did it. It was a lot of work.
First I adapted the database mod_bakery_general_settings & mod_bakery_items:

`definable_field_3` varchar(150) NOT NULL DEFAULT '',
  `definable_field_4` varchar(150) NOT NULL DEFAULT '',
  `definable_field_5` varchar(150) NOT NULL DEFAULT '',
  `definable_field_6` varchar(150) NOT NULL DEFAULT '',
  `definable_field_7` varchar(150) NOT NULL DEFAULT '',
  `definable_field_8` varchar(150) NOT NULL DEFAULT '',
  `definable_field_9` varchar(150) NOT NULL DEFAULT '',
  `definable_field_10` varchar(150) NOT NULL DEFAULT '',
  `definable_field_11` varchar(150) NOT NULL DEFAULT '',
  `definable_field_12` varchar(150) NOT NULL DEFAULT '',


Than I have adapted all these php files in the map: 'module - bakery' :
- view.php , view_item.php , view_overview.php , upgrade.php , search.php , save_item.php , save_general_settings.php , modify_item.php , modify_general_settings.php




gicasso

How can I create multiple 'Free definable Fields' in Bakery?
Currently there is only the possibility of 3 fields, but I would like to have 12 fields

CMS Version 2.8.3 SP1
Bakery: 1.70